Commit 6036a267 authored by Roque's avatar Roque

erp5_officejs: update precache storage to handle new precache manifest response

parent 91667964
...@@ -101,10 +101,8 @@ ...@@ -101,10 +101,8 @@
var base_manifest_text = response.target.responseText, var base_manifest_text = response.target.responseText,
relative_url_list, relative_url_list,
i, i,
hash = rusha.digestFromString(base_manifest_text + hash = rusha.digestFromString(base_manifest_text);
response.target relative_url_list = Object.keys(JSON.parse(base_manifest_text).url_dict);
.getResponseHeader("ETag"));
relative_url_list = Object.keys(JSON.parse(base_manifest_text));
storage._relative_url_list.push(storage._version); storage._relative_url_list.push(storage._version);
storage._relative_url_list.push(storage._version + storage._relative_url_list.push(storage._version +
storage._precache_manifest_script); storage._precache_manifest_script);
......
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