From 6068d33bb6b09e6fbddc0caf1f78c1999ab6722f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 May 2008 07:33:19 +0100 Subject: add hotkeys to prefs (2) --- functions.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'functions.js') 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); -- cgit v1.2.3-54-g00ecf