From dbd9e2f1df3bc5ab63caac9f58ad362432e53235 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 20 Nov 2005 08:41:42 +0100 Subject: [PATCH] misc prefs.js touchups --- prefs.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/prefs.js b/prefs.js index 89c314fa..0207fcea 100644 --- a/prefs.js +++ b/prefs.js @@ -642,6 +642,8 @@ function feedEditSave() { active_feed = false; + notify(""); + xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editSave&id=" + feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) + "&ui=" + param_escape(upd_intl) + "&pi=" + param_escape(purge_intl), true); @@ -725,6 +727,8 @@ function labelEditSave() { return; } + notify(""); + active_label = false; xmlhttp.open("GET", "backend.php?op=pref-labels&subop=editSave&id=" + @@ -760,11 +764,13 @@ function userEditSave() { active_user = false; + notify(""); + xmlhttp.open("GET", "backend.php?op=pref-users&subop=editSave&id=" + user + "&l=" + param_escape(login) + "&al=" + param_escape(level), true); - xmlhttp.onreadystatechange=labellist_callback; + xmlhttp.onreadystatechange=userlist_callback; xmlhttp.send(null); } @@ -797,7 +803,9 @@ function filterEditSave() { xmlhttp.open("GET", "backend.php?op=pref-filters&subop=editSave&id=" + filter + "&r=" + param_escape(regexp) + "&d=" + param_escape(descr) + "&m=" + param_escape(v_match), true); - + + notify(""); + xmlhttp.onreadystatechange=filterlist_callback; xmlhttp.send(null); @@ -816,6 +824,8 @@ function editSelectedLabel() { return; } + notify(""); + editLabel(rows[0]); } @@ -833,6 +843,8 @@ function editSelectedUser() { return; } + notify(""); + editUser(rows[0]); } @@ -881,6 +893,8 @@ function selectedUserDetails() { var id = rows[0]; + notify(""); + xmlhttp.open("GET", "backend.php?op=user-details&id=" + id, true); xmlhttp.onreadystatechange=infobox_callback; xmlhttp.send(null); @@ -908,6 +922,8 @@ function selectedFeedDetails() { var id = rows[0]; + notify(""); + xmlhttp.open("GET", "backend.php?op=feed-details&id=" + id, true); xmlhttp.onreadystatechange=infobox_callback; xmlhttp.send(null); @@ -927,6 +943,8 @@ function editSelectedFilter() { return; } + notify(""); + editFilter(rows[0]); } @@ -945,6 +963,8 @@ function editSelectedFeed() { return; } + notify(""); + editFeed(rows[0]); } -- 2.39.2