1
0
mirror of synced 2025-02-03 21:59:24 +03:00

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:
thereloaded 2014-05-22 12:09:59 +02:00
parent 9b8d186f61
commit 9ab86f1695

View File

@ -1560,7 +1560,7 @@ $("#select").select2({
<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>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>&lt;returns&gt;</td><td>object</td><td>Results object. See &quot;options.callback&quot; in the &quot;query&quot; function for format.</td></tr>
</table>
</td></tr>