Commit 4cc953e8 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Keep header refresh in the promise tree.

This will allow to catch possible errors.
parent 3641e27a
......@@ -583,8 +583,6 @@
\n
// go to the top of the page\n
window.scrollTo(0, 0);\n
\n
updateHeader(gadget);\n
\n
// Clear first to DOM, append after to reduce flickering/manip\n
while (element.firstChild) {\n
......@@ -600,6 +598,9 @@
input.focus();\n
input.select();\n
}\n
\n
\n
return updateHeader(gadget);\n
// XXX Drop notification\n
// return header_gadget.notifyLoaded();\n
});\n
......@@ -788,7 +789,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>946.36189.7510.51302</string> </value>
<value> <string>946.38651.7361.44032</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -806,7 +807,7 @@
</tuple>
<state>
<tuple>
<float>1445354882.08</float>
<float>1445593354.44</float>
<string>GMT</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