Commit b3e73249 authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[renderjs_ui] Partially revert last change - history does not have anything to translate

/reviewed-on nexedi/erp5!621
parent 19049a03
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
.declareAcquiredMethod("jio_allDocs", "jio_allDocs") .declareAcquiredMethod("jio_allDocs", "jio_allDocs")
.declareAcquiredMethod("updateHeader", "updateHeader") .declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getUrlFor", "getUrlFor") .declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("translateHtml", "translateHtml")
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// declared methods // declared methods
...@@ -86,10 +85,9 @@ ...@@ -86,10 +85,9 @@
document_list.push(document_dict[id_list[i]]); document_list.push(document_dict[id_list[i]]);
} }
} }
return gadget.translateHtml(table_template({document_list: document_list})); gadget.element.querySelector('.document_list').innerHTML = table_template(
}) {document_list: document_list}
.push(function (translated_html) { );
gadget.element.querySelector('.document_list').innerHTML = translated_html;
}); });
}); });
}(window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, Query)); }(window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, Query));
\ No newline at end of file
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>966.40020.36075.32580</string> </value> <value> <string>966.40160.48147.18688</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1522759930.74</float> <float>1522767706.51</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