mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
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
494 B
494 B
Bootstrap-switch
from: https://github.com/nostalgiaz/bootstrap-switch
bootstrap-switch.js and bootstrap-switch.css files came from dist/
directories at this [revision](https://github.com/nostalgiaz/bootstrap-switch/
tree/a39a1e9d6059822235bf4a9c0e7700a7e6a5ad19/dist) the september 30th 2015.
The default library doesn't allow to change value through javascript if
switcher is set readonly or disabled. We add a small change to
allow it when skip is true.