|
@@ -310,7 +310,7 @@ do ($ = window.jQuery, window) ->
|
|
$form
|
|
$form
|
|
.find("input")
|
|
.find("input")
|
|
.filter( -> $(@).data "bootstrap-switch")
|
|
.filter( -> $(@).data "bootstrap-switch")
|
|
- .each -> $(@).bootstrapSwitch "state", false
|
|
|
|
|
|
+ .each -> $(@).bootstrapSwitch "state", @checked
|
|
, 1
|
|
, 1
|
|
.data "bootstrap-switch", true
|
|
.data "bootstrap-switch", true
|
|
|
|
|