fix ajax url() context. fixes #895
This commit is contained in:
parent
6b65976e17
commit
9bf4614cd5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user