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