filter dialogs: properly handle CR on param field

This commit is contained in:
Andrew Dolgov 2008-08-11 16:31:39 +01:00
parent 3df4869bbd
commit 074bf20c7f
2 changed files with 2 additions and 0 deletions

View File

@ -392,6 +392,7 @@
print "<span id=\"filter_dlg_param_box\" style=\"display : none\">"; print "<span id=\"filter_dlg_param_box\" style=\"display : none\">";
print " " . __("with parameters:") . " "; print " " . __("with parameters:") . " ";
print "<input size=\"20\" print "<input size=\"20\"
onkeypress=\"return filterCR(event, createFilter)\"
name=\"action_param\">"; name=\"action_param\">";
print "</span>"; print "</span>";

View File

@ -79,6 +79,7 @@
print "<span id=\"filter_dlg_param_box\" style=\"$param_hidden\">"; print "<span id=\"filter_dlg_param_box\" style=\"$param_hidden\">";
print " " . __("with parameters:") . " "; print " " . __("with parameters:") . " ";
print "<input size=\"20\" print "<input size=\"20\"
onkeypress=\"return filterCR(event, filterEditSave)\"
name=\"action_param\" value=\"$action_param\">"; name=\"action_param\" value=\"$action_param\">";
print "</span>"; print "</span>";