diff options
author | Andrew Dolgov <[email protected]> | 2015-11-25 21:13:04 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-11-25 21:13:04 +0300 |
commit | c333cd3789762938ce473252491e6da811b7e19d (patch) | |
tree | 30619ac8d06beeefe8a380eaa3a01a9230a5d90e /plugins/googlereaderimport/init.js | |
parent | 74a752879bcad54daa62994f9eae42fe4afdd299 (diff) |
remove googlereaderimport: really who cares anymore
Diffstat (limited to 'plugins/googlereaderimport/init.js')
-rw-r--r-- | plugins/googlereaderimport/init.js | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/plugins/googlereaderimport/init.js b/plugins/googlereaderimport/init.js deleted file mode 100644 index 043952c75..000000000 --- a/plugins/googlereaderimport/init.js +++ /dev/null @@ -1,53 +0,0 @@ -function starredImportComplete(iframe) { - try { - if (!iframe.contentDocument.body.innerHTML) return false; - - Element.show(iframe); - - notify(''); - - if (dijit.byId('starredImportDlg')) - dijit.byId('starredImportDlg').destroyRecursive(); - - var content = iframe.contentDocument.body.innerHTML; - - if (content) Element.hide(iframe); - - dialog = new dijit.Dialog({ - id: "starredImportDlg", - title: __("Google Reader Import"), - style: "width: 600px", - onCancel: function() { - Element.hide(iframe); - this.hide(); - }, - execute: function() { - Element.hide(iframe); - this.hide(); - }, - content: content}); - - dialog.show(); - - } catch (e) { - exception_error("starredImportComplete", e); - } -} - -function starredImport() { - - var starred_file = $("starred_file"); - - if (starred_file.value.length == 0) { - alert(__("Please choose a file first.")); - return false; - } else { - notify_progress("Importing, please wait...", true); - - Element.show("starred_upload_iframe"); - - return true; - } -} - - |