summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-25 21:54:26 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-25 21:54:26 +0100
commit3a237701e0c9ea8ea2bc4f5e6e4ac840282ab5fa (patch)
tree2e4b316de79ac297f6c66c89daaae0d5fced357c /templates/part.listfeed.php
parent0430a6ca38545463d7eea070204d77bddb447437 (diff)
return empty json responses when nothing has been done
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index dbeb1dbf0..51b249eb5 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -1,6 +1,6 @@
<li ng-class="{active: isFeedActive(feedType.Feed, feed.id), unread: feed.unreadCount!=0}"
- ng-repeat="feed in feeds|feedInFolder:<?php p($_['folderId']); ?>"
- ng-show="feed.show"
+ ng-repeat="feed in getFeedsOfFolder(<?php p($_['folderId']); ?>)"
+ ng-show="isShown(feedType.Feed, feed.id)"
data-id="{{feed.id}}"
class="feed"
draggable>