Commit 91a7a15a authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Bootloader create global only one time

Test passed :  

https://nexedijs.erp5.net/#/test_result_module/20170926-4163AF53

/reviewed-on !414
parent d00c7a79
...@@ -51,7 +51,9 @@ var repair = false; ...@@ -51,7 +51,9 @@ var repair = false;
state = {}, state = {},
element_list = element_list =
gadget.element.querySelectorAll('[data-install-configuration]'); gadget.element.querySelectorAll('[data-install-configuration]');
if (window.Bootloader === undefined) {
window.Bootloader = gadget; window.Bootloader = gadget;
}
for (i = 0; i < element_list.length; i += 1) { for (i = 0; i < element_list.length; i += 1) {
state[element_list[i].getAttribute('data-install-configuration')] = state[element_list[i].getAttribute('data-install-configuration')] =
......
...@@ -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.57945.44138.39099</string> </value> <value> <string>962.14302.13214.21742</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>1504605705.8</float> <float>1506412140.67</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment