1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 01:41:29 +00:00

batch feed editor: more work

This commit is contained in:
Andrew Dolgov
2008-09-11 07:36:41 +01:00
parent 758e1c4ad9
commit b0f015a2ea
3 changed files with 113 additions and 28 deletions

View File

@@ -2250,9 +2250,21 @@ function feedsEditSave() {
return
}
var query = Form.serialize("batch_edit_feed_form");
var ok = confirm(__("Save changes to selected feeds?"));
alert(query);
if (ok) {
var query = Form.serialize("batch_edit_feed_form");
closeInfoBox();
notify_progress("Saving feeds...");
xmlhttp.open("POST", "backend.php", true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlhttp.send(query);
}
return false;
} catch (e) {