summaryrefslogtreecommitdiff
path: root/js/PrefHelpers.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-12 08:22:39 +0300
committerAndrew Dolgov <[email protected]>2021-02-12 08:22:39 +0300
commitcb7c075cd2db606f251b852342c2ed90ac591252 (patch)
tree92a447c634c905cb88780d30b3d7aedf663c6e99 /js/PrefHelpers.js
parent83b0738b04d1af07614164d66f8aa11d2465f539 (diff)
remove OPML.onImportComplete
Diffstat (limited to 'js/PrefHelpers.js')
-rw-r--r--js/PrefHelpers.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js
index 6fabc48df..4edb3eb4d 100644
--- a/js/PrefHelpers.js
+++ b/js/PrefHelpers.js
@@ -258,37 +258,6 @@ const Helpers = {
return false;
}
},
- onImportComplete: function(iframe) {
- if (!iframe.contentDocument.body.innerHTML) return false;
-
- Element.show(iframe);
-
- Notify.close();
-
- if (dijit.byId('opmlImportDlg'))
- dijit.byId('opmlImportDlg').destroyRecursive();
-
- const content = iframe.contentDocument.body.innerHTML;
-
- const dialog = new dijit.Dialog({
- id: "opmlImportDlg",
- title: __("OPML Import"),
- style: "width: 600px",
- onCancel: function () {
- window.location.reload();
- },
- execute: function () {
- window.location.reload();
- },
- content: content
- });
-
- dojo.connect(dialog, "onShow", function () {
- Element.hide(iframe);
- });
-
- dialog.show();
- },
export: function() {
console.log("export");
window.open("backend.php?op=opml&method=export&" + dojo.formToQuery("opmlExportForm"));