implement save in feed_cat editor (closes #6)

This commit is contained in:
Andrew Dolgov
2005-12-11 05:55:37 +01:00
parent 85af98a6b7
commit 5ddadb4c1e
2 changed files with 30 additions and 0 deletions
+22
View File
@@ -685,6 +685,28 @@ function feedEditSave() {
}
function feedCatEditSave() {
if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
notify("");
var cat_title = document.getElementById("iedit_title").value;
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=saveCat&id=" +
param_escape(active_feed_cat) + "&title=" + param_escape(cat_title),
true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
active_feed_cat = false;
}
function labelTest() {
var sqlexp = document.getElementById("iedit_expr").value;