fix widget sync event handler (was firing everything twice since widgets were not recognizing themselves)
This commit is contained in:
parent
f7422f6755
commit
9747397f59
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ module.exports.sync = function() {
|
|||
if (WIDGETS[id] && WIDGETS[id].length>1) {
|
||||
var v = widget.getValue()
|
||||
for (i in WIDGETS[id]) {
|
||||
if (WIDGETS[id][i]!=widget && WIDGETS[id][i].setValue) {
|
||||
if (!WIDGETS[id][i].is(widget) && WIDGETS[id][i].setValue) {
|
||||
WIDGETS[id][i].setValue(v,false,false)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue