mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
Fix readonly checkbox not working
This commit is contained in:
parent
0748fba70f
commit
f23b5aee82
@ -128,6 +128,7 @@ var et2_checkbox = /** @class */ (function (_super) {
|
||||
*/
|
||||
et2_checkbox.prototype.set_readonly = function (_ro) {
|
||||
jQuery(this.getDOMNode()).attr('disabled', _ro);
|
||||
this.input.prop('disabled', _ro);
|
||||
};
|
||||
/**
|
||||
* Override default to return unchecked value
|
||||
|
@ -174,6 +174,7 @@ class et2_checkbox extends et2_inputWidget
|
||||
set_readonly(_ro)
|
||||
{
|
||||
jQuery(this.getDOMNode()).attr('disabled', _ro);
|
||||
this.input.prop('disabled', _ro);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user