1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-18 02:01:28 +00:00

misc prefs.js touchups

This commit is contained in:
Andrew Dolgov
2005-11-20 08:41:42 +01:00
parent f324892e58
commit dbd9e2f1df

View File

@@ -642,6 +642,8 @@ function feedEditSave() {
active_feed = false; active_feed = false;
notify("");
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editSave&id=" + xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editSave&id=" +
feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) + feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) +
"&ui=" + param_escape(upd_intl) + "&pi=" + param_escape(purge_intl), true); "&ui=" + param_escape(upd_intl) + "&pi=" + param_escape(purge_intl), true);
@@ -725,6 +727,8 @@ function labelEditSave() {
return; return;
} }
notify("");
active_label = false; active_label = false;
xmlhttp.open("GET", "backend.php?op=pref-labels&subop=editSave&id=" + xmlhttp.open("GET", "backend.php?op=pref-labels&subop=editSave&id=" +
@@ -760,11 +764,13 @@ function userEditSave() {
active_user = false; active_user = false;
notify("");
xmlhttp.open("GET", "backend.php?op=pref-users&subop=editSave&id=" + xmlhttp.open("GET", "backend.php?op=pref-users&subop=editSave&id=" +
user + "&l=" + param_escape(login) + "&al=" + param_escape(level), user + "&l=" + param_escape(login) + "&al=" + param_escape(level),
true); true);
xmlhttp.onreadystatechange=labellist_callback; xmlhttp.onreadystatechange=userlist_callback;
xmlhttp.send(null); xmlhttp.send(null);
} }
@@ -798,6 +804,8 @@ function filterEditSave() {
filter + "&r=" + param_escape(regexp) + "&d=" + param_escape(descr) + filter + "&r=" + param_escape(regexp) + "&d=" + param_escape(descr) +
"&m=" + param_escape(v_match), true); "&m=" + param_escape(v_match), true);
notify("");
xmlhttp.onreadystatechange=filterlist_callback; xmlhttp.onreadystatechange=filterlist_callback;
xmlhttp.send(null); xmlhttp.send(null);
@@ -816,6 +824,8 @@ function editSelectedLabel() {
return; return;
} }
notify("");
editLabel(rows[0]); editLabel(rows[0]);
} }
@@ -833,6 +843,8 @@ function editSelectedUser() {
return; return;
} }
notify("");
editUser(rows[0]); editUser(rows[0]);
} }
@@ -881,6 +893,8 @@ function selectedUserDetails() {
var id = rows[0]; var id = rows[0];
notify("");
xmlhttp.open("GET", "backend.php?op=user-details&id=" + id, true); xmlhttp.open("GET", "backend.php?op=user-details&id=" + id, true);
xmlhttp.onreadystatechange=infobox_callback; xmlhttp.onreadystatechange=infobox_callback;
xmlhttp.send(null); xmlhttp.send(null);
@@ -908,6 +922,8 @@ function selectedFeedDetails() {
var id = rows[0]; var id = rows[0];
notify("");
xmlhttp.open("GET", "backend.php?op=feed-details&id=" + id, true); xmlhttp.open("GET", "backend.php?op=feed-details&id=" + id, true);
xmlhttp.onreadystatechange=infobox_callback; xmlhttp.onreadystatechange=infobox_callback;
xmlhttp.send(null); xmlhttp.send(null);
@@ -927,6 +943,8 @@ function editSelectedFilter() {
return; return;
} }
notify("");
editFilter(rows[0]); editFilter(rows[0]);
} }
@@ -945,6 +963,8 @@ function editSelectedFeed() {
return; return;
} }
notify("");
editFeed(rows[0]); editFeed(rows[0]);
} }