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