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