autocomplete doesnt support jsonp, handler added
[wolnelektury.git] / apps / wolnelektury_core / static / js / search.js
index 3b6ea40..dc9fac2 100644 (file)
@@ -15,8 +15,7 @@ var __bind = function (self, fn) {
                minLength: this.options.minLength,
                select: __bind(this, this.enter),
                focus: function() { return false; },
-               source: this.element.data('source'),
-               dataType: options.dataType,
+                source: this.element.data('source'),
            };
 
            this.element.autocomplete($.extend(opts, this.options))