Commit 030c7116 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Remove one not needed asynchronous call

parent f844b061
......@@ -665,9 +665,6 @@
initHeaderOptions(gadget);
initPanelOptions(gadget);
return increaseLoadingCounter(gadget)
.push(function () {
return route(gadget, 'router', 'notify', [{modified : false}]);
})
.push(function () {
return gadget.changeState({
url: route_result.url,
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>971.13462.12391.28893</string> </value>
<value> <string>971.13462.14418.45004</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1540567093.15</float>
<float>1540805328.09</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -1058,6 +1058,7 @@
})
.push(function (route_result) {
if ((route_result !== undefined) && (route_result.url !== undefined)) {
gadget.props.modified = false;
return gadget.renderApplication(route_result, gadget.props.keep_message)
.push(function (result) {
gadget.props.keep_message = false;
......
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>969.59308.31395.61354</string> </value>
<value> <string>971.10497.43311.42888</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1535546086.48</float>
<float>1540805313.26</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