Commit bf9ca055 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: when no matching case, use default value

parent 9bb31c22
...@@ -351,7 +351,7 @@ ...@@ -351,7 +351,7 @@
while (element.hasChildNodes()) {\n while (element.hasChildNodes()) {\n
element.removeChild(element.lastChild);\n element.removeChild(element.lastChild);\n
}\n }\n
element.appendChild(document.createTextNode(i18n.t(target[0])));\n element.appendChild(document.createTextNode(i18n.t(translate_list[l])));\n
element.appendChild(document.createElement("span"));\n element.appendChild(document.createElement("span"));\n
break;\n break;\n
}\n }\n
...@@ -484,7 +484,7 @@ ...@@ -484,7 +484,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>xiaowu</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>940.50431.23564.44151</string> </value> <value> <string>942.40436.35446.62327</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -516,7 +516,7 @@ ...@@ -516,7 +516,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1423134793.61</float> <float>1430140853.25</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