summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-23 12:38:27 +0100
committerAndrew Dolgov <[email protected]>2007-08-23 12:38:27 +0100
commit0e2dd39a35febe89fe7ef6b7bf2a59701f47e327 (patch)
treedc1f42389348a4f90c7a64db98d7ed9526b3c224 /modules
parentca872b9dfaad04cc7ee0b6ca5401f40d45a8d8bc (diff)
subscribe dialog: disable hotkeys on login/pass fields
Diffstat (limited to 'modules')
-rw-r--r--modules/popup-dialog.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index ff0b18bbb..66b44da70 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -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>";