mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
enbable textbox widget for type passwd
This commit is contained in:
parent
37945dd54a
commit
7d0a964a1e
@ -91,6 +91,9 @@ var et2_textbox = et2_inputWidget.extend({
|
||||
else
|
||||
{
|
||||
this.input = $j(document.createElement("input"));
|
||||
if(this.options.type == "passwd") {
|
||||
this.input.attr("type", "password");
|
||||
}
|
||||
}
|
||||
|
||||
if(this.options.size) {
|
||||
@ -153,7 +156,7 @@ var et2_textbox = et2_inputWidget.extend({
|
||||
}
|
||||
});
|
||||
|
||||
et2_register_widget(et2_textbox, ["textbox"]);
|
||||
et2_register_widget(et2_textbox, ["textbox", "passwd"]);
|
||||
|
||||
/**
|
||||
* et2_textbox_ro is the dummy readonly implementation of the textbox.
|
||||
|
Loading…
Reference in New Issue
Block a user