1
0
mirror of synced 2025-02-19 21:43:15 +03:00

fix ajax url() context. fixes #895

This commit is contained in:
Igor Vaynberg 2013-02-19 11:54:09 -08:00
parent 6b65976e17
commit 9bf4614cd5

View File

@ -838,7 +838,7 @@ the specific language governing permissions and limitations under the Apache Lic
if (ajaxUrl && ajaxUrl.length > 0) {
opts.ajax.url = ajaxUrl;
}
opts.query = ajax(opts.ajax);
opts.query = ajax.call(opts.element, opts.ajax);
} else if ("data" in opts) {
opts.query = local(opts.data);
} else if ("tags" in opts) {