浏览代码

Fix #1011 Cookie extension is not saving the changes

Fix #1011
Dennis Hernández 10 年之前
父节点
当前提交
aab9c18216
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {
     var setCookie = function (that, cookieName, cookieValue) {
-        if ((!that.options.stateSave) || (!cookieEnabled()) || (that.options.cookieIdTable === '')) {
+        if ((!that.options.cookie) || (!cookieEnabled()) || (that.options.cookieIdTable === '')) {
             return;
             return;
         }
         }