diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-14 15:52:27 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-14 15:52:27 +0200 |
commit | d6e5a8f02c7481e214a4a2ee7c6d7a9b7e3a2b45 (patch) | |
tree | 069618016519d8eefcb5254233fd7c35f76ba87a | |
parent | 0c73f5cf321274e7f99f2ed86cb60c2c6a6a1451 (diff) |
reload feed on filter change
-rw-r--r-- | ajax/usersettings.php | 5 | ||||
-rw-r--r-- | js/news.js | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ajax/usersettings.php b/ajax/usersettings.php index f9657f4a9..c01e8e35d 100644 --- a/ajax/usersettings.php +++ b/ajax/usersettings.php @@ -15,4 +15,7 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('news'); OCP\JSON::callCheck(); -// TODO: receive and save user settings
\ No newline at end of file +// TODO: receive and save user settings + + +OCP\JSON::success();
\ No newline at end of file diff --git a/js/news.js b/js/news.js index 1cfbb7853..bf1f36ad4 100644 --- a/js/news.js +++ b/js/news.js @@ -262,7 +262,7 @@ News={ $.post(OC.filePath('news', 'ajax', 'usersettings.php'), data, function(jsondata){ if(jsondata.status == 'success'){ // TODO - var currentFeed = rightcontent.attr('data-id'); + var currentFeed = $('#rightcontent').data('id'); News.Feed.load(currentFeed); } else { //TODO |