diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-25 19:14:08 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-25 19:14:08 -0400 |
commit | c94b02a1150745fe9d62fcf351caa125fb4a1204 (patch) | |
tree | aef0cffc29351d97c24fa12f4e2d79319f776943 /js/settings.js | |
parent | ca6aa3b464940cd0a012571552a4a7e9897cb35d (diff) |
opml exporter. invariant test needs to be done with opml importer
Diffstat (limited to 'js/settings.js')
-rw-r--r-- | js/settings.js | 7 |
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); } } |