]> git.wh0rd.org Git - tt-rss.git/commitdiff
subscribe dialog: disable hotkeys on login/pass fields
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 23 Aug 2007 11:38:27 +0000 (12:38 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 23 Aug 2007 11:38:27 +0000 (12:38 +0100)
modules/popup-dialog.php

index ff0b18bbb446b810ec7b3503e874373cb0db3761..66b44da70a2d7231f4c9c11b4b9a63cda4787e80 100644 (file)
@@ -87,9 +87,9 @@
 
                        print "<div id='fadd_login_container' style='display:none'>
                                <table width='100%'>
-                                       <tr><td width='20%'>".__('Login:')."</td><td><input name='auth_login' class='iedit'></td></tr>
+                                       <tr><td width='20%'>".__('Login:')."</td><td><input name='auth_login' class='iedit' onfocus=\"javascript:disableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" onkeypress=\"return filterCR(event, qaddFeed)\"></td></tr>
                                        <tr><td>".__('Password:')."</td><td><input type='password'
-                                               name='auth_pass' class='iedit'></td></tr>
+                                               name='auth_pass' class='iedit' onfocus=\"javascript:disableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" onkeypress=\"return filterCR(event, qaddFeed)\"></td></tr>
                                </table>
                                </div>";