mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager
This commit is contained in:
parent
acedd51dc5
commit
4a983e46d9
@ -190,4 +190,4 @@ class etemplate_widget_textbox extends etemplate_widget
|
||||
}
|
||||
}
|
||||
}
|
||||
etemplate_widget::registerWidget('etemplate_widget_textbox', array('textbox','text','int','integer','float','passwd','hidden','colorpicker'));
|
||||
etemplate_widget::registerWidget('etemplate_widget_textbox', array('textbox','text','int','integer','float','passwd','hidden','colorpicker','hidden'));
|
||||
|
@ -110,8 +110,14 @@ var et2_textbox = et2_inputWidget.extend(
|
||||
else
|
||||
{
|
||||
this.input = $j(document.createElement("input"));
|
||||
if(this.options.type == "passwd") {
|
||||
this.input.attr("type", "password");
|
||||
switch(this.options.type)
|
||||
{
|
||||
case "passwd":
|
||||
this.input.attr("type", "password");
|
||||
break;
|
||||
case "hidden":
|
||||
this.input.attr("type", "hidden");
|
||||
break;
|
||||
}
|
||||
if (this.options.autocomplete) this.input.attr("autocomplete", this.options.autocomplete);
|
||||
}
|
||||
@ -223,7 +229,7 @@ var et2_textbox = et2_inputWidget.extend(
|
||||
this.options.blur = _value;
|
||||
}
|
||||
});
|
||||
et2_register_widget(et2_textbox, ["textbox", "passwd"]);
|
||||
et2_register_widget(et2_textbox, ["textbox", "passwd", "hidden"]);
|
||||
|
||||
/**
|
||||
* et2_textbox_ro is the dummy readonly implementation of the textbox.
|
||||
|
Loading…
Reference in New Issue
Block a user