[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:
Nicolas Martinelli
2016-09-02 12:46:10 +02:00
parent cf4cda2bca
commit 1bcbca4be3
@@ -1559,7 +1559,7 @@ var FieldStatus = common.AbstractField.extend({
});
}
}
}, 300),
}, 300, true),
});
var FieldMonetary = FieldFloat.extend({