1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-30 17:27:11 +00:00

update notify_* calls to use Notify

This commit is contained in:
Andrew Dolgov
2018-12-02 20:56:30 +03:00
parent 495248dd97
commit 526389b2d3
28 changed files with 134 additions and 146 deletions

View File

@@ -14,7 +14,7 @@ function exportData() {
style: "width: 600px",
prepare: function() {
notify_progress("Loading, please wait...");
Notify.progress("Loading, please wait...");
new Ajax.Request("backend.php", {
parameters: "op=pluginhandler&plugin=import_export&method=exportrun&offset=" + exported,
@@ -53,7 +53,7 @@ function exportData() {
exception_error("exportData", e, transport.responseText);
}
notify('');
Notify.close();
} });
@@ -81,7 +81,7 @@ function dataImportComplete(iframe) {
Element.hide(iframe);
notify('');
Notify.close();
if (dijit.byId('dataImportDlg'))
dijit.byId('dataImportDlg').destroyRecursive();
@@ -112,7 +112,7 @@ function importData() {
alert(__("Please choose the file first."));
return false;
} else {
notify_progress("Importing, please wait...", true);
Notify.progress("Importing, please wait...", true);
Element.show("data_upload_iframe");