Commit 0fcb4727 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_web_renderjs_ui: update the interface for gadget_button_maximize

And simplify just a bit the code
parent 6e4d8625
Pipeline #37451 failed with stage
in 0 seconds
......@@ -8,8 +8,7 @@
.declareAcquiredMethod("translate", "translate")
.declareMethod('render', function () {
var gadget = this;
return gadget.changeState({'init': true});
return this.changeState({'init': true});
})
.onStateChange(function (modification_dict) {
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1019.59406.56317.53077</string> </value>
<value> <string>1019.59407.20285.20309</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>1728611478.5</float>
<float>1728982571.06</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -8,6 +8,11 @@
<h3></h3>
<dl>
<dt>render</dt>
<dd>Display the ERP5 field</dd>
<dl>
</dl>
</dl>
</body>
</html>
\ No newline at end of file
......@@ -226,7 +226,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <unicode>zope</unicode> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>970.6821.51131.59511</string> </value>
<value> <string>1020.60.35500.43827</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1536322934.28</float>
<float>1728983001.83</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