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
preetwinder
erp5
Commits
b07fe5f8
Commit
b07fe5f8
authored
Aug 09, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Reinstall on all error without test
parent
34369ef8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+7
-9
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
...ateItem/web_page_module/gadget_officejs_bootloader_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
View file @
b07fe5f8
...
@@ -47,7 +47,6 @@ var repair = false;
...
@@ -47,7 +47,6 @@ var repair = false;
.
ready
(
function
(
gadget
)
{
.
ready
(
function
(
gadget
)
{
var
i
,
var
i
,
state
=
{},
state
=
{},
sub_gadget_list
=
[],
element_list
=
element_list
=
gadget
.
element
.
querySelectorAll
(
'
[data-install-configuration]
'
);
gadget
.
element
.
querySelectorAll
(
'
[data-install-configuration]
'
);
window
.
Bootloader
=
gadget
;
window
.
Bootloader
=
gadget
;
...
@@ -131,6 +130,7 @@ sub gadget does not have all aquired Method at this point*/
...
@@ -131,6 +130,7 @@ sub gadget does not have all aquired Method at this point*/
return
this
.
declareGadget
(
url
,
return
this
.
declareGadget
(
url
,
{
{
"
element
"
:
element
,
"
element
"
:
element
,
"
scope
"
:
url
,
"
sandbox
"
:
"
iframe
"
"
sandbox
"
:
"
iframe
"
})
})
.
push
(
function
(
sub_gadget
)
{
.
push
(
function
(
sub_gadget
)
{
...
@@ -151,9 +151,9 @@ sub gadget does not have all aquired Method at this point*/
...
@@ -151,9 +151,9 @@ sub gadget does not have all aquired Method at this point*/
return
storage
.
repair
();
return
storage
.
repair
();
})
})
.
push
(
undefined
,
function
(
error
)
{
.
push
(
undefined
,
function
(
error
)
{
if
(
gadget
.
state
.
retry
!==
undefined
)
{
return
gadget
.
changeState
({
return
gadget
.
changeState
({
retry
:
gadget
.
state
.
retry
+=
1
,
retry
:
gadget
.
state
.
retry
!==
undefined
?
gadget
.
state
.
retry
+
1
:
0
,
error
:
error
error
:
error
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -162,8 +162,6 @@ sub gadget does not have all aquired Method at this point*/
...
@@ -162,8 +162,6 @@ sub gadget does not have all aquired Method at this point*/
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
install
();
return
gadget
.
install
();
});
});
}
throw
error
;
});
});
});
});
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
b07fe5f8
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.1
0581.61261.18995
</string>
</value>
<value>
<string>
961.1
8937.8958.57907
</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>
150
1763880.35
</float>
<float>
150
2265428.13
</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