summaryrefslogtreecommitdiffstats
path: root/js/news.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/news.js')
-rw-r--r--js/news.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/news.js b/js/news.js
index 39b4cc0d8..dada15fb2 100644
--- a/js/news.js
+++ b/js/news.js
@@ -336,9 +336,7 @@ News={
}
$.post(OC.filePath('news', 'ajax', 'usersettings.php'), data, function(jsondata){
if(jsondata.status == 'success'){
- // TODO
- var currentFeed = $('#rightcontent').data('id');
- News.Feed.load(currentFeed);
+ News.Feed.load(News.Feed.activeFeedId);
} else {
//TODO
}