Browse Source

Fixes regression with checkbox issue #154

Former-commit-id: 02e36abef6
Former-commit-id: a5f812c0c6
pull/258/head
jlukic 11 years ago
parent
commit
3fb57418bc
1 changed files with 2 additions and 5 deletions
  1. 7
      src/modules/checkbox.js

7
src/modules/checkbox.js

@ -104,7 +104,7 @@ $.fn.checkbox = function(parameters) {
}, },
enable: function() { enable: function() {
module.debug('Enabling checkbox');
module.debug('Enabling checkbox', $input);
$input $input
.prop('checked', true) .prop('checked', true)
; ;
@ -218,9 +218,6 @@ $.fn.checkbox = function(parameters) {
if(moduleSelector) { if(moduleSelector) {
title += ' \'' + moduleSelector + '\''; title += ' \'' + moduleSelector + '\'';
} }
if($allModules.size() > 1) {
title += ' ' + '(' + $allModules.size() + ')';
}
if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) { if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
console.groupCollapsed(title); console.groupCollapsed(title);
if(console.table) { if(console.table) {
@ -334,7 +331,7 @@ $.fn.checkbox.settings = {
}, },
selector : { selector : {
input : 'input[type=checkbox]',
input : 'input[type=checkbox], input[type=radio]',
label : 'label' label : 'label'
}, },

Loading…
Cancel
Save