Browse Source

Debug for radio

pull/2034/head
jlukic 9 years ago
parent
commit
4fb0f38734
1 changed files with 3 additions and 1 deletions
  1. 4
      src/definitions/modules/checkbox.js

4
src/definitions/modules/checkbox.js

@ -281,7 +281,9 @@ $.fn.checkbox = function(parameters) {
toggle: function(event) {
if( !module.can.change() ) {
console.log(module.can.change());
module.debug('Checkbox is read-only or disabled, ignoring toggle');
if(!module.is.radio()) {
module.debug('Checkbox is read-only or disabled, ignoring toggle');
}
return;
}
module.verbose('Determining new checkbox state');

Loading…
Cancel
Save