updated js script : now set back the return value contained into data.active for the toggle switch button if the activation request fails.
updated js script : now set back the return value contained into data.active for the toggle switch button if the activation request fails.

Okipa/laravel-bootstrap-table-list,Okipa/laravel-bootstrap-table-list