Commit 7dbbded3 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Redirecting is not blocking anymore

parent b5a0e5de
...@@ -609,6 +609,8 @@ ...@@ -609,6 +609,8 @@
thead_template = listbox_hidden_thead_template; thead_template = listbox_hidden_thead_template;
tbody_template = listbox_hidden_tbody_template; tbody_template = listbox_hidden_tbody_template;
} }
return new RSVP.Queue()
.push(function () {
return RSVP.all([ return RSVP.all([
renderListboxThead(gadget, thead_template), renderListboxThead(gadget, thead_template),
renderListboxTbody(gadget, tbody_template), renderListboxTbody(gadget, tbody_template),
...@@ -622,6 +624,7 @@ ...@@ -622,6 +624,7 @@
gadget.props.element.querySelector(".thead").innerHTML = all_innerHTML[0]; gadget.props.element.querySelector(".thead").innerHTML = all_innerHTML[0];
gadget.props.element.querySelector(".tfoot").innerHTML = all_innerHTML[2]; gadget.props.element.querySelector(".tfoot").innerHTML = all_innerHTML[2];
}); });
});
} }
); );
}) })
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.33120.49574.44270</string> </value> <value> <string>954.25745.6524.38843</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>1468331648.73</float> <float>1475666953.92</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