summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-16 07:33:19 +0100
committerAndrew Dolgov <[email protected]>2008-05-16 07:33:19 +0100
commit6068d33bb6b09e6fbddc0caf1f78c1999ab6722f (patch)
tree831c3562454f25640f5d8f29b67fae9f08aee685 /functions.js
parent746dcf42995b4dea9da7036386a0649b38c4e095 (diff)
add hotkeys to prefs (2)
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index eb036e3c4..e309c5e70 100644
--- a/functions.js
+++ b/functions.js
@@ -1237,6 +1237,8 @@ function infobox_callback2(transport) {
{ tokens: ',', paramName: "search" });
}
+ disableHotkeys();
+
notify("");
} catch (e) {
exception_error("infobox_callback2", e);
@@ -1255,6 +1257,9 @@ function createFilter() {
var query = Form.serialize("filter_add_form");
+ // we can be called from some other tab in Prefs
+ if (active_tab) active_tab = "filterConfig";
+
new Ajax.Request("backend.php?" + query, {
onComplete: function (transport) {
infobox_submit_callback2(transport);