]> git.wh0rd.org Git - tt-rss.git/commitdiff
filter dialogs: properly handle CR on param field
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 11 Aug 2008 15:31:39 +0000 (16:31 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 11 Aug 2008 15:31:39 +0000 (16:31 +0100)
modules/popup-dialog.php
modules/pref-filters.php

index b3fb99a62d18aaea4f55285715652631dc37aabc..e54e74584c4e4824d793756c858bf82b6e8ec07e 100644 (file)
                        print "<span id=\"filter_dlg_param_box\" style=\"display : none\">";
                        print " " . __("with parameters:") . " ";
                        print "<input size=\"20\"
+                                       onkeypress=\"return filterCR(event, createFilter)\"
                                        name=\"action_param\">";
                        print "</span>";
 
index 05d2fb6afff4bbde2fa66f32e5ea57f3db4d4336..4ada43370bc35a362a49c9e12865b3cbfb1c7446 100644 (file)
@@ -79,6 +79,7 @@
                        print "<span id=\"filter_dlg_param_box\" style=\"$param_hidden\">";
                        print " " . __("with parameters:") . " ";
                        print "<input size=\"20\"
+                                       onkeypress=\"return filterCR(event, filterEditSave)\"           
                                        name=\"action_param\" value=\"$action_param\">";
                        print "</span>";