Commit 829ecb19 authored by Roque's avatar Roque

erp5_officejs: don't save appcachestorage non configuration elements during sync

parent f4dbb8b3
...@@ -191,9 +191,10 @@ ...@@ -191,9 +191,10 @@
parser.href = id; parser.href = id;
urlParams = new URLSearchParams(parser.search); urlParams = new URLSearchParams(parser.search);
id = urlParams.get("relative_url"); id = urlParams.get("relative_url");
if (id === null) { id = configuration_ids_dict[String(i)]; } if (id !== null) { // ignore non configuration elements
content = processHateoasDict(content_list[i]); content = processHateoasDict(content_list[i]);
promise_list.push(appcache_storage.put(id, content)); promise_list.push(appcache_storage.put(id, content));
}
} }
return RSVP.all(promise_list); return RSVP.all(promise_list);
}) })
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>974.41438.31897.60791</string> </value> <value> <string>974.41513.27300.13568</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1553699373.55</float> <float>1553701267.05</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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