]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.js
misc prefs.js touchups
[tt-rss.git] / prefs.js
index 89c314faf124f34ca763d1efb0736f837d42bed6..0207fcea145fd8d51139a3c376176130e46b05e1 100644 (file)
--- 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]);
 
 }