vendor/assets/javascripts/base/_switch.js in active_frontend-15.0.22 vs vendor/assets/javascripts/base/_switch.js in active_frontend-15.0.23

- old
+ new

@@ -78,11 +78,11 @@ this.$element.prop('checked', true) .attr('checked', 'checked'); if (!silent) this.trigger(); - $.event.trigger('switchOnOn'); + $.event.trigger('bs.switch.on-on'); this.options.onOnCallback(); }; Switch.prototype.off = function (silent) { if (this.$element.prop('disabled')) return false; @@ -93,10 +93,10 @@ this.$element.prop('checked', false) .removeAttr('checked'); if (!silent) this.trigger(); - $.event.trigger('switchOnOff'); + $.event.trigger('bs.switch.on-off'); this.options.onOffCallback(); }; Switch.prototype.enable = function () { this.$element.prop('disabled', false);