summaryrefslogtreecommitdiffstats
path: root/js/settings.js
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-25 19:14:08 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-25 19:14:08 -0400
commitc94b02a1150745fe9d62fcf351caa125fb4a1204 (patch)
treeaef0cffc29351d97c24fa12f4e2d79319f776943 /js/settings.js
parentca6aa3b464940cd0a012571552a4a7e9897cb35d (diff)
opml exporter. invariant test needs to be done with opml importer
Diffstat (limited to 'js/settings.js')
-rw-r--r--js/settings.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/settings.js b/js/settings.js
index 6709884ec..b10f3c4fe 100644
--- a/js/settings.js
+++ b/js/settings.js
@@ -53,8 +53,11 @@ News.Settings={
});
},
exportOpml:function(button){
- //TODO
- alert("test");
+ $(button).attr("disabled", true);
+ $(button).prop('value', t('news', 'Downloading...'));
+ document.location.href = OC.linkTo('news', 'opmlexporter.php');
+ $(button).prop('value', t('news', 'Download'));
+ $(button).attr("disabled", false);
}
}