diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-06 23:45:06 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-06 23:45:06 +0200 |
commit | 0e42e6d8ce1a056b4426148651b741f345968be2 (patch) | |
tree | 982b511677d05142726d92410e0d67ec1d25574b /src/web/js/actions/MiddlePanelActions.js | |
parent | replace g.user by current_user (diff) | |
download | newspipe-0e42e6d8ce1a056b4426148651b741f345968be2.tar.gz newspipe-0e42e6d8ce1a056b4426148651b741f345968be2.tar.bz2 newspipe-0e42e6d8ce1a056b4426148651b741f345968be2.zip |
major problems fixed.
Diffstat (limited to 'src/web/js/actions/MiddlePanelActions.js')
-rw-r--r-- | src/web/js/actions/MiddlePanelActions.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/web/js/actions/MiddlePanelActions.js b/src/web/js/actions/MiddlePanelActions.js index f805b7b1..3704e7ec 100644 --- a/src/web/js/actions/MiddlePanelActions.js +++ b/src/web/js/actions/MiddlePanelActions.js @@ -140,11 +140,9 @@ var MiddlePanelActions = { data: JSON.stringify(filters), url: "/mark_all_as_read", success: function (payload) { + console.log(payload); JarrDispatcher.dispatch({ - type: ActionTypes.CHANGE_ATTR, - attribute: 'read', - value_num: -1, - value_bool: true, + type: ActionTypes.MARK_ALL_AS_READ, articles: payload.articles, }); }, |