switch toggle to checkbox for overrides

This commit is contained in:
Gert
2015-06-08 15:03:36 +02:00
committed by Andy Miller
parent 592b54e9ad
commit 60f0de1e94
4 changed files with 30 additions and 32 deletions

View File

@@ -28,6 +28,7 @@
CheckboxesField.prototype.disabled = function(state) {
if (typeof state !== 'undefined') {
this._disabled = state ? true : false;
this.el.css('opacity', state ? 0.6 : 1);
}
return this._disabled;