mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
eefb5963bf
commit
9b5c68f743
@ -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([et2_IResizeable],
|
||||
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);
|
||||
}
|
||||
@ -239,7 +245,7 @@ var et2_textbox = et2_inputWidget.extend([et2_IResizeable],
|
||||
}
|
||||
}
|
||||
});
|
||||
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