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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
e34c3249
Commit
e34c3249
authored
Jun 15, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: fix local storage for source code
parent
da49251c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+3
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
...ateItem/web_page_module/gadget_officejs_bootloader_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.js
...age_module/gadget_officejs_bootloader_serviceworker_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.xml
...ge_module/gadget_officejs_bootloader_serviceworker_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
View file @
e34c3249
...
@@ -26,7 +26,7 @@ var repair = false;
...
@@ -26,7 +26,7 @@ var repair = false;
check_local_modification
:
false
,
check_local_modification
:
false
,
signature_storage
:
{
signature_storage
:
{
type
:
"
indexeddb
"
,
type
:
"
indexeddb
"
,
database
:
"
installer
_hash
"
database
:
window
.
location
.
pathname
+
version_url
+
"
_hash
"
},
},
local_sub_storage
:
{
local_sub_storage
:
{
type
:
"
query
"
,
type
:
"
query
"
,
...
@@ -34,7 +34,8 @@ var repair = false;
...
@@ -34,7 +34,8 @@ var repair = false;
type
:
"
uuid
"
,
type
:
"
uuid
"
,
sub_storage
:
{
sub_storage
:
{
type
:
"
indexeddb
"
,
type
:
"
indexeddb
"
,
database
:
"
officejs_code_source
"
database
:
window
.
location
.
origin
+
window
.
location
.
pathname
+
version_url
}
}
}
}
},
},
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
e34c3249
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
58.64411.34322.58368
</string>
</value>
<value>
<string>
9
60.4200.19356.54459
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
3803864.07
</float>
<float>
149
7535303.22
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.js
View file @
e34c3249
...
@@ -39,13 +39,13 @@ var global = self, window = self;
...
@@ -39,13 +39,13 @@ var global = self, window = self;
.
replace
(
self
.
registration
.
scope
,
""
)
.
replace
(
self
.
registration
.
scope
,
""
)
.
replace
(
self
.
version_url
,
""
);
.
replace
(
self
.
version_url
,
""
);
if
(
relative_url
===
""
)
{
if
(
relative_url
===
""
)
{
relative_url
=
self
.
registration
.
scope
;
relative_url
=
"
/
"
;
}
}
event
.
respondWith
(
event
.
respondWith
(
new
self
.
RSVP
.
Queue
()
new
self
.
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
if
(
self
.
storage
.
get
===
undefined
)
{
if
(
self
.
storage
.
get
===
undefined
)
{
self
.
storage
=
createStorage
(
"
officejs_code_source
"
);
self
.
storage
=
createStorage
(
self
.
registration
.
scope
);
}
}
return
self
.
storage
.
getAttachment
(
"
/
"
,
relative_url
)
return
self
.
storage
.
getAttachment
(
"
/
"
,
relative_url
)
.
push
(
function
(
blob
)
{
.
push
(
function
(
blob
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.xml
View file @
e34c3249
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
59.27737.62903.2116
</string>
</value>
<value>
<string>
9
60.4199.25759.2730
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1497
359632.58
</float>
<float>
1497
613210.46
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</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