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:
parent
dd82c9a170
commit
070b3291b4
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue