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