Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
6036a267
Commit
6036a267
authored
Jul 31, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: update precache storage to handle new precache manifest response
parent
91667964
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1857 additions
and
6 deletions
+1857
-6
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.js
...web_page_module/gadget_officejs_jio_precachestorage_js.js
+2
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.xml
...eb_page_module/gadget_officejs_jio_precachestorage_js.xml
+1855
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.js
View file @
6036a267
...
...
@@ -101,10 +101,8 @@
var
base_manifest_text
=
response
.
target
.
responseText
,
relative_url_list
,
i
,
hash
=
rusha
.
digestFromString
(
base_manifest_text
+
response
.
target
.
getResponseHeader
(
"
ETag
"
));
relative_url_list
=
Object
.
keys
(
JSON
.
parse
(
base_manifest_text
));
hash
=
rusha
.
digestFromString
(
base_manifest_text
);
relative_url_list
=
Object
.
keys
(
JSON
.
parse
(
base_manifest_text
).
url_dict
);
storage
.
_relative_url_list
.
push
(
storage
.
_version
);
storage
.
_relative_url_list
.
push
(
storage
.
_version
+
storage
.
_precache_manifest_script
);
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.xml
View file @
6036a267
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment