[FIX] web: disable debounce functionality
With the new views, we introduced a system where some fields could notify immediately the rest of the system that they have been changed. It is really cool, it allows real time edition (with onchanges). However, this was a little too much. In some cases (an onchange that returns a warning), it was counterproductive. So, we decided to simply remove the feature. This commit only make sure that it does not happen, and we will do a deeper pass later to make sure that no useless code is left behind. Note that this means that we can reintroduce the functionality really easily later, eventually protected by an attribute.
This commit is contained in:
@@ -65,7 +65,7 @@ var DebouncedField = AbstractField.extend({
|
||||
* it could be a good idea to debounce the changes. In that case, this is
|
||||
* the suggested value.
|
||||
*/
|
||||
DEBOUNCE: 1000,
|
||||
DEBOUNCE: 1000000000,
|
||||
|
||||
/**
|
||||
* Override init to debounce the field "_doAction" method (by creating a new
|
||||
|
||||
Reference in New Issue
Block a user