[FIX] web: statusbar click
When the statusbar is clicked, a `debounce` function prevents a doucle-click, and therefore making several `write` calls. In debug mode, the click doesn't work anymore. For some mysterious reason, the event is propagated to the parent. The `currentTarget` is not the `li` element, but the parent `ul`. By setting the `immediate` argument to `true` (execute the first function instead of the last), this solves the issue.
This commit is contained in:
@@ -1559,7 +1559,7 @@ var FieldStatus = common.AbstractField.extend({
|
||||
});
|
||||
}
|
||||
}
|
||||
}, 300),
|
||||
}, 300, true),
|
||||
});
|
||||
|
||||
var FieldMonetary = FieldFloat.extend({
|
||||
|
||||
Reference in New Issue
Block a user