summaryrefslogtreecommitdiff
path: root/plugins/greaderstarredimport/init.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-28 19:37:34 +0400
committerAndrew Dolgov <[email protected]>2013-03-28 19:37:34 +0400
commit93e79595bd7f7d8cd4d58953d1043776e4587f7a (patch)
tree0f0d074f5bdaa4e8e970b327b0f954b5808f4191 /plugins/greaderstarredimport/init.js
parent250b2e10cb4db0890768e0eee32ed3ce7a6b1b57 (diff)
rename google reader import plugin; fix owner_uid being 0
Diffstat (limited to 'plugins/greaderstarredimport/init.js')
-rw-r--r--plugins/greaderstarredimport/init.js53
1 files changed, 0 insertions, 53 deletions
diff --git a/plugins/greaderstarredimport/init.js b/plugins/greaderstarredimport/init.js
deleted file mode 100644
index e7057d82a..000000000
--- a/plugins/greaderstarredimport/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: __("OPML 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;
- }
-}
-
-