Commit 9c1b5e61 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] LabelField: rerender field only if options has been modified

parent 60e7ca3a
......@@ -64,6 +64,7 @@
}
}
if (modification_dict.hasOwnProperty('options')) {
if (this.state.field_url) {
return new RSVP.Queue()
.push(function () {
......@@ -85,6 +86,7 @@
return field_gadget.render(gadget.state.options);
});
}
}
})
.declareMethod("checkValidity", function () {
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>955.22025.27821.47377</string> </value>
<value> <string>955.29626.47611.24814</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1479376095.96</float>
<float>1479998167.15</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