summaryrefslogtreecommitdiff
path: root/plugins/import_export/import_export.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/import_export/import_export.js')
-rw-r--r--plugins/import_export/import_export.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/import_export/import_export.js b/plugins/import_export/import_export.js
index 780f6bfc7..8dc5f7570 100644
--- a/plugins/import_export/import_export.js
+++ b/plugins/import_export/import_export.js
@@ -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,
@@ -50,10 +50,10 @@ function exportData() {
"Error occured, could not export data.";
}
} catch (e) {
- exception_error("exportData", e, transport.responseText);
+ App.Error.report(e);
}
- notify('');
+ Notify.close();
} });
@@ -71,7 +71,7 @@ function exportData() {
} catch (e) {
- exception_error("exportData", e);
+ App.Error.report(e);
}
}
@@ -81,7 +81,7 @@ function dataImportComplete(iframe) {
Element.hide(iframe);
- notify('');
+ Notify.close();
if (dijit.byId('dataImportDlg'))
dijit.byId('dataImportDlg').destroyRecursive();
@@ -100,7 +100,7 @@ function dataImportComplete(iframe) {
dialog.show();
} catch (e) {
- exception_error("dataImportComplete", e);
+ App.Error.report(e);
}
}
@@ -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");