Commit d522d1a3 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: fix potential cancellation issue

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