Commit 11ca8739 by Jung Kwangkyu

#18453【DAIHATSU】閲覧ログ件数不一致

parent e23608cd
...@@ -188,6 +188,7 @@ UserSetting.prototype.remove = function(key) { ...@@ -188,6 +188,7 @@ UserSetting.prototype.remove = function(key) {
delete js[key]; delete js[key];
storage.setItem(this.US_KEY, JSON.stringify(js)); storage.setItem(this.US_KEY, JSON.stringify(js));
} }
this.userSetting = this.load();
} }
} }
}; };
......
...@@ -569,12 +569,15 @@ COMMON.operateData = function(args, strKey, returnDefaultData) { ...@@ -569,12 +569,15 @@ COMMON.operateData = function(args, strKey, returnDefaultData) {
LocalStorageUtils.set(strKey, data); LocalStorageUtils.set(strKey, data);
SessionStorageUtils.set(strKey, JSON.stringify(data)); SessionStorageUtils.set(strKey, JSON.stringify(data));
} else { } else {
console.log("getUniqueId : " + LocalStorageUtils.getUniqueId()); if (strKey == COMMON.Keys.ContentLogData) {
LocalStorageUtils.remove(strKey); LocalStorageUtils.remove(strKey);
SessionStorageUtils.remove(strKey); SessionStorageUtils.remove(strKey);
} else {
LocalStorageUtils.set(strKey, data);
SessionStorageUtils.set(strKey, JSON.stringify(data));
}
} }
} else { } else {
if (SessionStorageUtils.get(strKey) != 'undefined' if (SessionStorageUtils.get(strKey) != 'undefined'
&& SessionStorageUtils.get(strKey) != undefined && SessionStorageUtils.get(strKey) != undefined
&& SessionStorageUtils.get(strKey) != '' && SessionStorageUtils.get(strKey) != ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment