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
Amer
erp5
Commits
f24f0b1e
Commit
f24f0b1e
authored
Apr 04, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: minor fix in appcachestorage sync
parent
e86a4433
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.js
...athTemplateItem/web_page_module/gadget_officejs_jio_js.js
+4
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
...thTemplateItem/web_page_module/gadget_officejs_jio_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.js
View file @
f24f0b1e
...
...
@@ -62,6 +62,7 @@
function
processHateoasDict
(
raw_dict
)
{
var
raw_fields
,
type
,
parent
,
field_key
,
field_id
,
return_dict
=
{};
return_dict
.
raw_dict
=
raw_dict
;
try
{
/*jslint nomen: true*/
raw_fields
=
raw_dict
.
_embedded
.
_view
;
...
...
@@ -137,7 +138,7 @@
}
},
sync_flag
=
"
appcache-stored
"
,
configuration_ids_
dict
=
{}
;
configuration_ids_
list
=
[]
;
if
(
jio_options
===
undefined
)
{
return
;
}
...
...
@@ -177,7 +178,7 @@
}
else
{
promise_list
.
push
(
appcache_storage
.
getAttachment
(
origin_url
,
id
,
{
"
format
"
:
"
json
"
}));
}
configuration_ids_
dict
[
String
(
i
)
]
=
id
;
configuration_ids_
list
[
i
]
=
id
;
i
+=
1
;
}
}
...
...
@@ -186,7 +187,7 @@
.
push
(
function
(
content_list
)
{
var
i
,
id
,
parser
,
urlParams
,
content
,
promise_list
=
[];
for
(
i
=
0
;
i
<
content_list
.
length
;
i
+=
1
)
{
id
=
configuration_ids_
dict
[
String
(
i
)
];
id
=
configuration_ids_
list
[
i
];
parser
=
document
.
createElement
(
'
a
'
);
parser
.
href
=
id
;
urlParams
=
new
URLSearchParams
(
parser
.
search
);
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
View file @
f24f0b1e
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
974.
41513.27300.13568
</string>
</value>
<value>
<string>
974.
52922.19559.31982
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
155
3701267.0
5
</float>
<float>
155
4386123.4
5
</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