Explorar o código

MultiSelect JavaScript error - no method 'showSearch'. fixes #1311

Igor Vaynberg %!s(int64=12) %!d(string=hai) anos
pai
achega
06440a6bf8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1512,7 +1512,7 @@ the specific language governing permissions and limitations under the Apache Lic
                 } else {
                     render("");
                 }
-                if (initial) this.showSearch(true);
+                if (initial && this.showSearch) this.showSearch(true);
                 return;
             }