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:
16
prefs.js
16
prefs.js
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user