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

[erp5_web_renderjs_ui] Redirecting is not blocking anymore

parent b5a0e5de
...@@ -609,18 +609,21 @@ ...@@ -609,18 +609,21 @@
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 RSVP.all([ return new RSVP.Queue()
renderListboxThead(gadget, thead_template), .push(function () {
renderListboxTbody(gadget, tbody_template), return RSVP.all([
renderListboxTfoot(gadget, listbox_tfoot_template), renderListboxThead(gadget, thead_template),
gadget.translate(hide_button_html) renderListboxTbody(gadget, tbody_template),
]); renderListboxTfoot(gadget, listbox_tfoot_template),
}) gadget.translate(hide_button_html)
.push(function (all_innerHTML) { ]);
//change hide button's text })
hide_button.innerHTML = all_innerHTML[3]; .push(function (all_innerHTML) {
gadget.props.element.querySelector(".thead").innerHTML = all_innerHTML[0]; //change hide button's text
gadget.props.element.querySelector(".tfoot").innerHTML = all_innerHTML[2]; hide_button.innerHTML = all_innerHTML[3];
gadget.props.element.querySelector(".thead").innerHTML = all_innerHTML[0];
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