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
89005c87
Commit
89005c87
authored
May 11, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: remove service worker setting storage and application cache on bootloader
parent
e1a47e31
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
28 deletions
+18
-28
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.html
...Item/web_page_module/gadget_officejs_bootloader.html.html
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.xml
...eItem/web_page_module/gadget_officejs_bootloader.html.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+13
-23
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
...ateItem/web_page_module/gadget_officejs_bootloader_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.html
View file @
89005c87
<!DOCTYPE html>
<html
manifest=
"${application_appcache}"
>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.xml
View file @
89005c87
...
...
@@ -241,7 +241,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
11494.19014.6587
</string>
</value>
<value>
<string>
958.
44234.50599.921
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -259,7 +259,7 @@
</tuple>
<state>
<tuple>
<float>
149
0198316.47
</float>
<float>
149
2159460.13
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
View file @
89005c87
...
...
@@ -5,13 +5,7 @@ var repair = false;
ProgressEvent
,
console
)
{
"
use strict
"
;
var
serviceWorker_setting_storage
=
jIO
.
createJIO
({
type
:
"
uuid
"
,
sub_storage
:
{
type
:
"
indexeddb
"
,
database
:
"
serviceWorker_settings
"
}
}),
remote_storage
=
{
var
remote_storage
=
{
type
:
"
erp5
"
,
url
:
window
.
location
.
origin
+
window
.
location
.
pathname
+
"
hateoasnoauth
"
,
...
...
@@ -149,7 +143,6 @@ var repair = false;
}
})
.
push
(
undefined
,
function
(
error
)
{
console
.
log
(
error
);
if
(
error
instanceof
ProgressEvent
)
{
if
(
gadget
.
props
.
sub
===
undefined
)
{
window
.
location
.
pathname
+=
gadget
.
props
.
version_url
;
...
...
@@ -183,12 +176,9 @@ var repair = false;
document
.
querySelector
(
"
base
"
)
);
}
navigator
.
serviceWorker
.
onerror
=
function
(
event
)
{
console
.
log
(
event
);
};
return
navigator
.
serviceWorker
.
register
(
"
gadget_officejs_bootloader_serviceworker.js
"
,
{
"
scope
"
:
gadget
.
props
.
version_url
}
{
"
scope
"
:
gadget
.
props
.
version_url
}
);
})
.
push
(
function
(
registration
)
{
...
...
@@ -206,7 +196,7 @@ var repair = false;
var
gadget
=
this
;
function
redirect
()
{
window
.
location
.
href
=
gadget
.
props
.
redirect
_url
;
window
.
location
.
pathname
+=
gadget
.
props
.
version
_url
;
}
if
(
navigator
.
serviceWorker
===
undefined
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
89005c87
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
34399.34294.3466
2
</string>
</value>
<value>
<string>
958.
43127.34376.4874
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
149
1570174.38
</float>
<float>
149
2093057.34
</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