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
Laurent S
erp5
Commits
96c7f57b
Commit
96c7f57b
authored
Oct 26, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] appcache storage limit allAttachments to one document
parent
602abb58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
...web_page_module/gadget_officejs_jio_appcachestorage_js.js
+12
-9
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
...eb_page_module/gadget_officejs_jio_appcachestorage_js.xml
+3
-3
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
View file @
96c7f57b
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
this
.
_gadget
=
spec
.
gadget
;
this
.
_gadget
=
spec
.
gadget
;
this
.
_take_installer
=
spec
.
take_installer
||
false
;
this
.
_take_installer
=
spec
.
take_installer
||
false
;
this
.
_origin_url
=
spec
.
origin_url
!==
undefined
?
this
.
_origin_url
=
spec
.
origin_url
!==
undefined
?
spec
.
origin_url
:
new
URL
(
window
.
location
)
;
spec
.
origin_url
:
window
.
location
.
href
;
this
.
_version
=
spec
.
version
||
""
;
this
.
_version
=
spec
.
version
||
""
;
this
.
_gadget_list
=
[];
this
.
_gadget_list
=
[];
this
.
_prefix
=
spec
.
prefix
||
""
;
this
.
_prefix
=
spec
.
prefix
||
""
;
...
@@ -72,15 +72,18 @@
...
@@ -72,15 +72,18 @@
});
});
};
};
AppCacheStorage
.
prototype
.
allAttachments
=
function
()
{
AppCacheStorage
.
prototype
.
allAttachments
=
function
(
id
)
{
var
result
=
{},
i
,
len
=
this
.
_relative_url_list
.
length
;
if
(
id
===
this
.
_origin_url
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
var
result
=
{},
i
,
len
=
this
.
_relative_url_list
.
length
;
result
[
this
.
_relative_url_list
[
i
]]
=
{};
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
}
result
[
this
.
_relative_url_list
[
i
]]
=
{};
for
(
i
=
0
;
i
<
this
.
_gadget_list
.
length
;
i
+=
1
)
{
}
result
[
this
.
_gadget_list
[
i
]]
=
{};
for
(
i
=
0
;
i
<
this
.
_gadget_list
.
length
;
i
+=
1
)
{
result
[
this
.
_gadget_list
[
i
]]
=
{};
}
return
result
;
}
}
return
result
;
return
[]
;
};
};
AppCacheStorage
.
prototype
.
buildQuery
=
function
()
{
AppCacheStorage
.
prototype
.
buildQuery
=
function
()
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
View file @
96c7f57b
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
<value>
<string>
vincent
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
1.48080.27649.65467
</string>
</value>
<value>
<string>
96
3.7741.10364.409
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
4083085.19
</float>
<float>
150
9371482.86
</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