Browse Source

Fix event call

djhvscf 7 years ago
parent
commit
d8daee71b3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/extensions/cookie/bootstrap-table-cookie.js

+ 2 - 2
src/extensions/cookie/bootstrap-table-cookie.js

@@ -171,7 +171,7 @@
     };
 
     var initCookieFilters = function (bootstrapTable) {
-        //setTimeout(function () {
+        setTimeout(function () {
             var parsedCookieFilters = JSON.parse(getCookie(bootstrapTable, bootstrapTable.options.cookieIdTable, cookieIds.filterControl));
 
             if (!bootstrapTable.options.filterControlValuesLoaded && parsedCookieFilters) {
@@ -202,7 +202,7 @@
                 bootstrapTable.options.filterControlValuesLoaded = true;
                 bootstrapTable.initServer();
             }
-        //}, 250);
+        }, 250);
     };
 
     $.extend($.fn.bootstrapTable.defaults, {