mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
If value is available in the constructor, set it there
This commit is contained in:
parent
40acef68b6
commit
0516d2cc2a
@ -106,8 +106,11 @@ var et2_textbox = et2_inputWidget.extend({
|
|||||||
this.set_readonly(true);
|
this.set_readonly(true);
|
||||||
}
|
}
|
||||||
this.input.addClass("et2_textbox");
|
this.input.addClass("et2_textbox");
|
||||||
|
|
||||||
this.setDOMNode(this.input[0]);
|
this.setDOMNode(this.input[0]);
|
||||||
|
if(this.options.value)
|
||||||
|
{
|
||||||
|
this.set_value(this.options.value);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getValue: function()
|
getValue: function()
|
||||||
|
Loading…
Reference in New Issue
Block a user