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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
8a1d7839
Commit
8a1d7839
authored
Sep 09, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_appstore_base: appcache API has been dropped from chrome
parent
d8746243
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_redirect_page_html.html
...b_page_module/gadget_ojs_appstore_redirect_page_html.html
+12
-6
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_redirect_page_html.xml
...eb_page_module/gadget_ojs_appstore_redirect_page_html.xml
+2
-2
No files found.
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_redirect_page_html.html
View file @
8a1d7839
...
...
@@ -5,12 +5,18 @@
function
redirect_version
()
{
document
.
location
.
replace
(
"
${latest_version}/
"
+
document
.
location
.
hash
)
};
var
timeout_duration
=
10000
;
try
{
window
.
applicationCache
.
addEventListener
(
'
cached
'
,
redirect_version
);
window
.
applicationCache
.
addEventListener
(
'
noupdate
'
,
redirect_version
);
window
.
applicationCache
.
addEventListener
(
'
error
'
,
redirect_version
);
window
.
applicationCache
.
addEventListener
(
'
updateready
'
,
function
(){
window
.
location
.
reload
()});
// XXX This is a hack for when the network is too slow.
window
.
setTimeout
(
redirect_version
,
10000
);
}
catch
(
e
)
{
timeout_duration
=
1
;
}
// XXX This is a hack for when the network is too slow, or if appcache is not supported anymore
window
.
setTimeout
(
redirect_version
,
timeout_duration
);
</script>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_redirect_page_html.xml
View file @
8a1d7839
...
...
@@ -248,7 +248,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
59.46608.34939.31368
</string>
</value>
<value>
<string>
9
84.41193.2075.29252
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -266,7 +266,7 @@
</tuple>
<state>
<tuple>
<float>
1
497604340
.46
</float>
<float>
1
599639175
.46
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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