summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-24 11:21:07 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-24 11:21:07 -0400
commit8eab75caa8505b26c0612c204b349c25c1ee3075 (patch)
tree007ba6d634268ed83384668786b38097c75ec8b3 /js
parent27df8ca4628457e2fca13a64125152469dab33bb (diff)
moving settings dialog to app
Diffstat (limited to 'js')
-rw-r--r--js/news.js4
-rw-r--r--js/settings.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/js/news.js b/js/news.js
index 8dbc09659..e0945661d 100644
--- a/js/news.js
+++ b/js/news.js
@@ -218,6 +218,10 @@ $(document).ready(function(){
event.stopPropagation();
});
+ $('#settingsbtn').click(function() {
+ News.UI.overview('#import_dialog', 'importdialog.php');
+ });
+
setupFeedList();
var updateInterval = 10000; //how often the feeds should update (in msec)
diff --git a/js/settings.js b/js/settings.js
index 28a61dfc3..9e0d3fe66 100644
--- a/js/settings.js
+++ b/js/settings.js
@@ -36,7 +36,7 @@ NewsSettings={
}
$(document).ready(function(){
- $('#opml_file').click(function() {
+ $('#settings').click(function() {
NewsSettings.UI.overview('#import_dialog', 'importdialog.php');
});