disabled the setting of the value of an input-tag to the request-object-value for buttons, since this does not make sense, and furthermore would lead to ugly values as soon as Umlauts are involved;

This commit is contained in:
Michael Platzer 2003-01-21 10:09:00 +00:00
parent dd82c9a170
commit 070b3291b4

View file

@ -296,7 +296,7 @@ function username_macro(param) {
* function renders a form-input
*/
function input_macro(param) {
param.value = param.name && req.data[param.name] ? encodeForm(req.data[param.name]) : param.value;
if (param.type!="button") param.value = param.name && req.data[param.name] ? encodeForm(req.data[param.name]) : param.value;
if (param.type == "textarea")
return(renderInputTextarea(param));
else if (param.type == "checkbox")