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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mukul
erp5
Commits
832376ee
Commit
832376ee
authored
Nov 07, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Update exporte site to follow appcache changes
parent
1903d4f2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
+13
-10
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
...ateItem/web_page_module/gadget_officejs_page_export_js.js
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
...teItem/web_page_module/gadget_officejs_page_export_js.xml
+4
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.js
...hTemplateItem/web_page_module/jio_filesystemstorage_js.js
+5
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.xml
...TemplateItem/web_page_module/jio_filesystemstorage_js.xml
+3
-3
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
832376ee
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
take_installer
:
no_installer
===
undefined
,
take_installer
:
no_installer
===
undefined
,
manifest
:
cache_file
,
manifest
:
cache_file
,
origin_url
:
site_url
,
origin_url
:
site_url
,
prefix
:
prefix
||
""
prefix
:
'
./
'
+
(
prefix
||
""
)
}
}
},
},
signature_sub_storage
:
{
signature_sub_storage
:
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
832376ee
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,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>
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.52398.50512.43502
</string>
</value>
<value>
<string>
96
3.17965.11464.64324
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -245,8 +245,8 @@
...
@@ -245,8 +245,8 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
8202105.14
</float>
<float>
150
9985032.38
</float>
<string>
GMT+9
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
</object>
</object>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.js
View file @
832376ee
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
FileSystemStorage
.
prototype
.
getAttachment
=
function
(
doc_id
,
attachment_id
)
{
FileSystemStorage
.
prototype
.
getAttachment
=
function
(
doc_id
,
attachment_id
)
{
return
this
.
_sub_storage
.
getAttachment
(
return
this
.
_sub_storage
.
getAttachment
(
this
.
_document
,
this
.
_document
,
doc_id
+
((
attachment_id
===
"
index.html
"
)
?
'
.
'
+
doc_id
+
((
attachment_id
===
"
index.html
"
)
?
(
doc_id
.
endsWith
(
"
imagelib/
"
)
?
"
index.html
"
:
""
)
:
attachment_id
)
(
doc_id
.
endsWith
(
"
imagelib/
"
)
?
"
index.html
"
:
""
)
:
attachment_id
)
);
);
};
};
...
@@ -52,10 +52,13 @@
...
@@ -52,10 +52,13 @@
if
(
result
.
hasOwnProperty
(
id
))
{
if
(
result
.
hasOwnProperty
(
id
))
{
last_index
=
id
.
lastIndexOf
(
"
/
"
)
+
1
;
last_index
=
id
.
lastIndexOf
(
"
/
"
)
+
1
;
if
(
last_index
===
id
.
length
)
{
if
(
last_index
===
id
.
length
)
{
if
(
id
.
startsWith
(
'
.
'
))
{
id
=
id
.
substring
(
1
);
}
path
=
id
||
"
/
"
;
path
=
id
||
"
/
"
;
filename
=
"
index.html
"
;
filename
=
"
index.html
"
;
}
else
{
}
else
{
path
=
id
.
substring
(
0
,
last_index
);
path
=
id
.
substring
(
1
,
last_index
);
filename
=
id
.
substring
(
last_index
);
filename
=
id
.
substring
(
last_index
);
}
}
}
}
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.xml
View file @
832376ee
...
@@ -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.61072.50119.43246
</string>
</value>
<value>
<string>
96
3.17970.54919.48025
</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>
15
04857724.83
</float>
<float>
15
10044429.61
</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