mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-29 01:09:10 +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
|
else
|
||||||
{
|
{
|
||||||
this.input = $j(document.createElement("input"));
|
this.input = $j(document.createElement("input"));
|
||||||
|
if(this.options.type == "passwd") {
|
||||||
|
this.input.attr("type", "password");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.options.size) {
|
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.
|
* et2_textbox_ro is the dummy readonly implementation of the textbox.
|
||||||
|
Loading…
Reference in New Issue
Block a user