Browse Source

Fix #1011 Cookie extension is not saving the changes

Fix #1011
Dennis Hernández 10 years ago
parent
commit
aab9c18216
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/cookie/bootstrap-table-cookie.js

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

@@ -23,7 +23,7 @@
     };
 
     var setCookie = function (that, cookieName, cookieValue) {
-        if ((!that.options.stateSave) || (!cookieEnabled()) || (that.options.cookieIdTable === '')) {
+        if ((!that.options.cookie) || (!cookieEnabled()) || (that.options.cookieIdTable === '')) {
             return;
         }