Commit 1f5af98b authored by Sven Franck's avatar Sven Franck Committed by Xiaowu Zhang

erp5_web_renderjs_ui: fix regression on panel translate menu

parent 2accbe65
...@@ -172,14 +172,16 @@ ...@@ -172,14 +172,16 @@
var i,\n var i,\n
i_len,\n i_len,\n
tmp,\n tmp,\n
language_list,\n
document_list = [],\n document_list = [],\n
language_list = all_result[2];\n raw_language_list = all_result[2];\n
\n \n
// XXX: Customize panel header!\n // XXX: Customize panel header!\n
tmp = panel_template();\n tmp = panel_template();\n
\n \n
// translation list available\n // translation list available\n
if (language_list) {\n if (raw_language_list) {\n
language_list = JSON.parse(raw_language_list);\n
i_len = language_list.length;\n i_len = language_list.length;\n
for (i = 0; i < i_len; i += 1) {\n for (i = 0; i < i_len; i += 1) {\n
document_list.push({"count": i, "lang": language_list[i]});\n document_list.push({"count": i, "lang": language_list[i]});\n
...@@ -419,7 +421,7 @@ ...@@ -419,7 +421,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>940.1578.52538.48913</string> </value> <value> <string>940.1635.5936.59528</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -437,7 +439,7 @@ ...@@ -437,7 +439,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1420204041.51</float> <float>1420206973.03</float>
<string>GMT</string> <string>GMT</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