Prefix storage keys.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 12 Nov 2013 00:50:41 +0000 (01:50 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 12 Nov 2013 00:50:41 +0000 (01:50 +0100)
o_o.js

diff --git a/o_o.js b/o_o.js
index 85ee9dae5a83b6eda5a2690a933a4b247bf9e8cc..4ec46f9eada332ba184e9df7909321fcd42e2001 100644 (file)
--- a/o_o.js
+++ b/o_o.js
@@ -32,7 +32,7 @@
     function generateMessage () {
         var r = {};
         for (var k in KEYS)
-            r[k] = KEYS[k](localStorage[k]);
+            r[k] = KEYS[k](localStorage["WEBCART1000 " + k]);
         return r;
     }
 
@@ -41,7 +41,7 @@
             return;
         for (var k in KEYS) {
             if (k in data) {
-                localStorage[k] = KEYS[k](data[k]);
+                localStorage["WEBCART1000 " + k] = KEYS[k](data[k]);
             }
         }
     }