diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 6b8e2bf64..5f746eca3 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -3,6 +3,7 @@ ### Version 2.1.7 Nov 29, 2015 **Bug Fixes** +-**Popup** - Fixed issue with `onEnable` callback being defined with name `onEnabled` and `onDisable` with `onDisabled` in default settings, causing an error. To preserve backwards compatibility, the mispelled callback name has been left, but the bug has been fixed. #3148 -**Popup** - Adds `onUnplaceable` callback when element cannot be place in visible screen #3388 -**Sidebar** - Sidebar no longer includes `transform` rules on child elements, this was causing layout issues in some cases (for example dropdowns in sidebars) #3306 -**Sidebar** - Fixed css rule issue causing `very thin` sidebar to not work #3300 diff --git a/src/definitions/modules/checkbox.js b/src/definitions/modules/checkbox.js index 97ff3c5da..257aac6d7 100644 --- a/src/definitions/modules/checkbox.js +++ b/src/definitions/modules/checkbox.js @@ -268,7 +268,7 @@ $.fn.checkbox = function(parameters) { } module.debug('Enabling checkbox'); module.set.enabled(); - settings.onEnable.call(input); + settings.onEnabled.call(input); }, disable: function() { @@ -278,7 +278,7 @@ $.fn.checkbox = function(parameters) { } module.debug('Disabling checkbox'); module.set.disabled(); - settings.onDisable.call(input); + settings.onDisabled.call(input); }, get: { @@ -781,8 +781,8 @@ $.fn.checkbox.settings = { onDeterminate : function() {}, onIndeterminate : function() {}, - onEnabled : function(){}, - onDisabled : function(){}, + onEnable : function(){}, + onDisable : function(){}, className : { checked : 'checked',