]>
git.wh0rd.org - tt-rss.git/blob - plugins/googlereaderimport/init.js
043952c75cc068afe4824f5d17d3755aeac747b4
1 function starredImportComplete(iframe
) {
3 if (!iframe
.contentDocument
.body
.innerHTML
) return false;
9 if (dijit
.byId('starredImportDlg'))
10 dijit
.byId('starredImportDlg').destroyRecursive();
12 var content
= iframe
.contentDocument
.body
.innerHTML
;
14 if (content
) Element
.hide(iframe
);
16 dialog
= new dijit
.Dialog({
17 id
: "starredImportDlg",
18 title
: __("Google Reader Import"),
19 style
: "width: 600px",
20 onCancel: function() {
33 exception_error("starredImportComplete", e
);
37 function starredImport() {
39 var starred_file
= $("starred_file");
41 if (starred_file
.value
.length
== 0) {
42 alert(__("Please choose a file first."));
45 notify_progress("Importing, please wait...", true);
47 Element
.show("starred_upload_iframe");