Explorar el Código

Merge pull request #3375 from vyrotek/patch-1

Fixed AjaxAdapter's super constructor call
Kevin Brown hace 10 años
padre
commit
fdb2b6aaf2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/js/select2/data/ajax.js

+ 1 - 1
src/js/select2/data/ajax.js

@@ -10,7 +10,7 @@ define([
       this.processResults = this.ajaxOptions.processResults;
     }
 
-    ArrayAdapter.__super__.constructor.call(this, $element, options);
+    AjaxAdapter.__super__.constructor.call(this, $element, options);
   }
 
   Utils.Extend(AjaxAdapter, ArrayAdapter);