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
1
Issues
1
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
Roque
erp5
Commits
36f83e78
Commit
36f83e78
authored
May 24, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: minor code fixing
parent
28435766
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
14 deletions
+13
-14
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+2
-3
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_controller_page_controller_js.js
...e_module/gadget_officejs_controller_page_controller_js.js
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
..._module/gadget_officejs_controller_page_controller_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.js
...athTemplateItem/web_page_module/gadget_officejs_jio_js.js
+2
-2
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_bootloader_js.js
View file @
36f83e78
...
...
@@ -5,7 +5,7 @@ var repair = false;
"
use strict
"
;
function
createStorage
(
gadget
)
{
var
jio_options
=
{
return
jIO
.
createJIO
(
{
type
:
"
replicate
"
,
parallel_operation_attachment_amount
:
10
,
parallel_operation_amount
:
1
,
...
...
@@ -41,8 +41,7 @@ var repair = false;
version
:
gadget
.
props
.
version_url
,
take_installer
:
true
}
};
return
jIO
.
createJIO
(
jio_options
);
});
}
function
waitForServiceWorkerActive
(
registration
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
36f83e78
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
4.21860.23292.1017
1
</string>
</value>
<value>
<string>
97
5.50798.33418.1541
1
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
155
2651381.39
</float>
<float>
155
8706005.68
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
View file @
36f83e78
/*global
window, rJS, document
*/
/*global
document, window, rJS
*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
document
)
{
(
function
(
document
,
window
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
...
...
@@ -144,4 +144,4 @@
});
});
}(
window
,
rJS
,
document
));
\ No newline at end of file
}(
document
,
window
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
View file @
36f83e78
...
...
@@ -225,7 +225,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
975.
46576.23122.6860
</string>
</value>
<value>
<string>
975.
60837.8816.16179
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -243,7 +243,7 @@
</tuple>
<state>
<tuple>
<float>
155
7850628.3
5
</float>
<float>
155
8706589.9
5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.js
View file @
36f83e78
...
...
@@ -63,7 +63,7 @@
function
processHateoasDict
(
raw_dict
)
{
var
raw_fields
,
type
,
parent
,
field_key
,
field_id
,
return_dict
=
{};
return_dict
.
raw_dict
=
raw_dict
;
try
{
if
(
"
_embedded
"
in
raw_dict
&&
"
_view
"
in
raw_dict
.
_embedded
)
{
/*jslint nomen: true*/
raw_fields
=
raw_dict
.
_embedded
.
_view
;
type
=
raw_dict
.
_links
.
type
.
name
;
...
...
@@ -86,7 +86,7 @@
}
}
}
}
catch
(
e
)
{
}
else
{
// raw_dict is a blob
return
raw_dict
;
}
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
View file @
36f83e78
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
975.
57884.28211.26709
</string>
</value>
<value>
<string>
975.
60870.58404.40738
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1558
536806.57
</float>
<float>
1558
708599.95
</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