mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +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._super.apply(this, arguments);
|
||||||
|
|
||||||
this.label = "";
|
this.label = "";
|
||||||
this.clicked = false;
|
this.clicked = false;
|
||||||
this.btn = null;
|
this.btn = null;
|
||||||
|
|
||||||
if (!_readonly)
|
if (!this.options.readonly)
|
||||||
{
|
{
|
||||||
this.btn = $j(document.createElement("button"))
|
this.btn = $j(document.createElement("button"))
|
||||||
.addClass("et2_button");
|
.addClass("et2_button");
|
||||||
|
Loading…
Reference in New Issue
Block a user