rework editSelectedFeeds to use http POST
This commit is contained in:
parent
01becdcdaa
commit
755c8f95ef
16
prefs.js
16
prefs.js
|
@ -680,15 +680,23 @@ function editSelectedFeeds() {
|
|||
return;
|
||||
}
|
||||
|
||||
notify("");
|
||||
notify_progress("Loading, please wait...");
|
||||
|
||||
var query = "backend.php?op=pref-feeds&subop=editfeeds&ids=" +
|
||||
param_escape(rows.toString());
|
||||
|
||||
console.log(query);
|
||||
|
||||
if (dijit.byId("feedEditDlg"))
|
||||
dijit.byId("feedEditDlg").destroyRecursive();
|
||||
|
||||
dialog = new dijit.Dialog({
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
onComplete: function(transport) {
|
||||
|
||||
notify("");
|
||||
|
||||
var dialog = new dijit.Dialog({
|
||||
id: "feedEditDlg",
|
||||
title: __("Edit Multiple Feeds"),
|
||||
style: "width: 600px",
|
||||
|
@ -768,10 +776,12 @@ function editSelectedFeeds() {
|
|||
}})
|
||||
}
|
||||
},
|
||||
href: query});
|
||||
content: transport.responseText});
|
||||
|
||||
dialog.show();
|
||||
|
||||
} });
|
||||
|
||||
} catch (e) {
|
||||
exception_error("editSelectedFeeds", e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue