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

[erp5_web_renderjs_ui] No need to translate the listbox content

parent 7e5b5fd1
......@@ -96,16 +96,14 @@
var container,
column_list = JSON.parse(gadget.state.column_list_json);
return gadget.translateHtml(template(
{
container = document.createElement(container_name);
container.innerHTML = template({
"row_list": row_list,
"show_anchor": gadget.state.show_anchor,
"column_list": column_list
}
))
.push(function (table_part_html) {
container = document.createElement(container_name);
container.innerHTML = table_part_html;
});
return new RSVP.Queue()
.push(function () {
return renderEditableField(gadget, container, row_list);
})
.push(function () {
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>966.54628.39321.22579</string> </value>
<value> <string>967.34773.44940.64000</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,8 +254,8 @@
</tuple>
<state>
<tuple>
<float>1523635564.65</float>
<string>GMT+2</string>
<float>1526290094.25</float>
<string>UTC</string>
</tuple>
</state>
</object>
......
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