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