Commit 46adf031 authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_web_renderjs_ui: Translate the content of the Maximize button

parent 82c748a4
Pipeline #37387 failed with stage
in 0 seconds
......@@ -14,18 +14,14 @@
.onStateChange(function (modification_dict) {
var gadget = this;
if (! gadget.state.button) {
return gadget.translate("Maximize")
.push(function (translation) {
var button = domsugar("button", {
"class": "ui-icon-expand ui-btn-icon-notext",
"type": "button",
"text": translation
});
gadget.element.appendChild(button);
gadget.state.button = button;
});
}
return gadget.translate("Maximize")
.push(function (translation) {
return gadget.element.appendChild(domsugar("button", {
"class": "ui-icon-expand ui-btn-icon-notext",
"type": "button",
"text": translation
}));
});
})
.onEvent('click', function (event) {
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1019.58331.12367.6468</string> </value>
<value> <string>1019.59406.56317.53077</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>1728546925.73</float>
<float>1728611478.5</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