1
0
mirror of synced 2024-11-22 21:16:10 +03:00

fixes #1387, better handling of ajax handler var

This commit is contained in:
Igor Vaynberg 2013-06-05 08:23:49 -07:00
parent 111cf37cfe
commit 4917429c7a

View File

@ -416,7 +416,7 @@ the specific language governing permissions and limitations under the Apache Lic
data = data ? data.call(self, query.term, query.page, query.context) : null;
url = (typeof url === 'function') ? url.call(self, query.term, query.page, query.context) : url;
if( null !== handler) { handler.abort(); }
if (handler) { handler.abort(); }
if (options.params) {
if ($.isFunction(options.params)) {