updated ajax results parameter
looking at the source, the query.context is not passed to results, so i replaced it with the additional query parameter
This commit is contained in:
parent
9b8d186f61
commit
9ab86f1695
@ -1560,7 +1560,7 @@ $("#select").select2({
|
|||||||
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||||
<tr><td>data</td><td>object</td><td>Retrieved data.</td></tr>
|
<tr><td>data</td><td>object</td><td>Retrieved data.</td></tr>
|
||||||
<tr><td>page</td><td>int</td><td>Page number that was passed into the <code>data</code> function above.</td></tr>
|
<tr><td>page</td><td>int</td><td>Page number that was passed into the <code>data</code> function above.</td></tr>
|
||||||
<tr><td>context</td><td>object</td><td>See <a href="#doc-query-options-callback"><code>options.context</code></a> parameter to the <a href="#doc-query"><code>query</code></a> function above.</td></tr>
|
<tr><td>query</td><td>object</td><td>The query object used to request this set of results.</td></tr>
|
||||||
<tr><td><returns></td><td>object</td><td>Results object. See "options.callback" in the "query" function for format.</td></tr>
|
<tr><td><returns></td><td>object</td><td>Results object. See "options.callback" in the "query" function for format.</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user