mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fixed readonly buttons are rendered
This commit is contained in:
parent
86414e7daa
commit
b382dc570f
@ -37,14 +37,14 @@ var et2_button = et2_baseWidget.extend(et2_IInput, {
|
||||
}
|
||||
},
|
||||
|
||||
init: function(_parent, _type, _readonly) {
|
||||
init: function() {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
this.label = "";
|
||||
this.clicked = false;
|
||||
this.btn = null;
|
||||
|
||||
if (!_readonly)
|
||||
if (!this.options.readonly)
|
||||
{
|
||||
this.btn = $j(document.createElement("button"))
|
||||
.addClass("et2_button");
|
||||
|
Loading…
Reference in New Issue
Block a user