summaryrefslogtreecommitdiff
path: root/plugins/import_export/import_export.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-03 15:46:54 +0300
committerAndrew Dolgov <[email protected]>2018-12-03 15:46:54 +0300
commit4cb3a601a0fbeb0bf98c932bd5af8a3cffa8ab64 (patch)
treeed3dae8894591be12287b3cce3ff5b4cc6d1ce0e /plugins/import_export/import_export.js
parentcd0a39ea4cb7137aef5b225bdc4472d207a48e62 (diff)
parent98986ce066764158c045c3e23b69e98183b94236 (diff)
Merge branch 'js-objects' into weblate-integration
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");