Commit 80d36d86 authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Romain Courteaud

erp5_web_renderjs_ui: Remove unused variables

parent 0747c524
...@@ -20,8 +20,7 @@ ...@@ -20,8 +20,7 @@
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment") .declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareMethod('render', function (options) { .declareMethod('render', function (options) {
var element = this.element, var gadget = this,
gadget = this,
field_json = options.field_json || {}, field_json = options.field_json || {},
new_state = { new_state = {
value: field_json.value || field_json['default'] || "", value: field_json.value || field_json['default'] || "",
...@@ -44,7 +43,7 @@ ...@@ -44,7 +43,7 @@
return gadget.changeState(new_state); return gadget.changeState(new_state);
}) })
.onStateChange(function (modification_dict) { .onStateChange(function () {
var gadget = this, var gadget = this,
erp5_document_uri = new URI(gadget.state.erp5_embedded_document._view._links.traversed_document.href), erp5_document_uri = new URI(gadget.state.erp5_embedded_document._view._links.traversed_document.href),
form_options = { form_options = {
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.61208.29353.29986</string> </value> <value> <string>986.61483.49376.1638</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1597610664.04</float> <float>1601393999.02</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -98,12 +98,12 @@ ...@@ -98,12 +98,12 @@
}) })
.declareAcquiredMethod("notifyFocus", "notifyFocus") .declareAcquiredMethod("notifyFocus", "notifyFocus")
.onEvent('focus', function focus(evt) { .onEvent('focus', function focus() {
return this.notifyFocus(); return this.notifyFocus();
}, true, false) }, true, false)
.declareAcquiredMethod("notifyBlur", "notifyBlur") .declareAcquiredMethod("notifyBlur", "notifyBlur")
.onEvent('blur', function blur(evt) { .onEvent('blur', function blur() {
return this.notifyBlur(); return this.notifyBlur();
}, true, false) }, true, false)
......
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.61208.29353.29986</string> </value> <value> <string>986.41601.40161.17629</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1597615378.38</float> <float>1601393849.37</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