]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable hotkeys when userDlg is shown
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Dec 2005 16:46:03 +0000 (17:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Dec 2005 16:46:03 +0000 (17:46 +0100)
tt-rss.js

index dee5e85460dfda351da1cb1f21be70e6f12a56b3..6178ea3d4a3d9e9a2427afb07490fa1e3c8cb4d9 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -511,11 +511,13 @@ function displayDlg(id, param) {
        xmlhttp.onreadystatechange=dlg_display_callback;
        xmlhttp.send(null);
 
+       disableHotkeys();
 }
 
 function closeDlg() {
        var dlg = document.getElementById("userDlgShadow");
        dlg.style.display = "none";
+       enableHotkeys();
 }
 
 function qfdDelete(feed_id) {