3
0
Fork 0
Commit Graph

26 Commits (6589457f0791f0e835e739fabf99fb22e81432e0)

Author SHA1 Message Date
Pierre Verkest ca4b39e8a5 fix issue on form view when: quick edit the value, them move to edit mode
the form, change the value then cancel the change, the value was keeping the initial values without taking account the quick edition.
find by @JonathanNEMRY
2015-12-14 15:42:58 +01:00
Pierre Verkest 30dfcbd216 Initialiaze widget when a row is redraw
This appens when a field perform a name_get on each row
each row are redraw independently
2015-12-14 15:42:58 +01:00
Pierre Verkest 98e3ab1c4b setup focus event + fix autofocus init 2015-12-14 15:42:58 +01:00
Pierre Verkest a30452cdfb manage tabindex and autofocus + flake8 2015-12-14 15:42:58 +01:00
Pierre Verkest bfb5a0686f add unit test and got one fix
+ update doc
2015-12-14 15:42:58 +01:00
Pierre Verkest 354324bbc2 remove test lib file 2015-12-14 15:42:58 +01:00
Pierre Verkest e402b8a73f py.eval is not protect against undefined 2015-12-14 15:42:58 +01:00
Pierre Verkest 6c80374aec fix issue on create new object on editable listview 2015-12-14 15:42:58 +01:00
Pierre Verkest 0fb54c760f remove readonly managment initialization 2015-12-14 15:42:58 +01:00
Pierre Verkest 858d554cfc manage attrs attribute, espesialy for readonly 2015-12-14 15:42:58 +01:00
Pierre Verkest 0c41e40ec5 code formatting 2015-12-14 15:42:58 +01:00
Pierre Verkest b722d5299e foward options to grouped switcher 2015-12-14 15:42:58 +01:00
Pierre Verkest e8182de5d2 when quick editing, set records data 2015-12-14 15:42:58 +01:00
Pierre Verkest 77b12a283e jshint 2015-12-14 15:42:58 +01:00
Pierre Verkest 924756ba8a avoid multi call to the server in case of view list editable + quick edition
fix context on view list for quick edition
2015-12-14 15:42:58 +01:00
Pierre Verkest e6215b0e3d finalize quick edit
fixe context
2015-12-14 15:42:58 +01:00
Pierre Verkest 87d958d38b allow extra parameters + poc of quick editing 2015-12-14 15:42:58 +01:00
Pierre Verkest 562c20d624 refactor init options switcher 2015-12-14 15:42:58 +01:00
Pierre Verkest 567d681766 manage states (readonly/disabled) on list view 2015-12-14 15:42:58 +01:00
Pierre Verkest e25f0ce0f0 format readme 2015-12-14 15:42:58 +01:00
Pierre Verkest 11b544bb73 lib: allow change value through js
only in case skip is true
as we won't fire event, we allow to change
that value to display the switcher as it should
2015-12-14 15:42:58 +01:00
Pierre Verkest 9ce5e96ad8 manage states (readonly/disabled) on form view 2015-12-14 15:42:58 +01:00
Pierre Verkest af3d1ac503 update lib to allow set value through javascrpti if switcher is readonly or disabled 2015-12-14 15:42:58 +01:00
Pierre Verkest 7decad6070 add missing lib 2015-12-14 15:42:58 +01:00
Pierre Verkest 384e245329 factorize creating a new object 2015-12-14 15:42:58 +01:00
Pierre Verkest e5a81ef886 widget boolean_switch POC 2015-12-14 15:42:58 +01:00