Commit d522d1a3 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: fix potential cancellation issue

parent f25237bf
...@@ -1164,10 +1164,7 @@ ...@@ -1164,10 +1164,7 @@
} }
result = routeMethodLess(gadget, command_options.args); result = routeMethodLess(gadget, command_options.args);
} }
return new RSVP.Queue() return new RSVP.Queue(result)
.push(function () {
return result;
})
.push(function (route_result) { .push(function (route_result) {
if ((route_result !== undefined) && (route_result.url !== undefined)) { if ((route_result !== undefined) && (route_result.url !== undefined)) {
gadget.props.modified = false; gadget.props.modified = false;
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>990.5086.43949.8362</string> </value> <value> <string>991.63470.31913.42018</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>1614089291.25</float> <float>1620655812.82</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