summaryrefslogtreecommitdiffstats
path: root/templates/part.showall.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.showall.php
parent0430a6ca38545463d7eea070204d77bddb447437 (diff)
return empty json responses when nothing has been done
Diffstat (limited to 'templates/part.showall.php')
-rw-r--r--templates/part.showall.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.showall.php b/templates/part.showall.php
index f5cacf039..3bbd719b8 100644
--- a/templates/part.showall.php
+++ b/templates/part.showall.php
@@ -1,7 +1,7 @@
-<li ng-show="!getShowAll()" class="show-all">
+<li ui-if="!isShowAll()" class="show-all">
<a ng-click="setShowAll(true)" href="#"><?php p($l->t('Show all')); ?></a>
</li>
-<li ng-show="getShowAll()" class="show-all">
+<li ui-if="istShowAll()" class="show-all">
<a ng-click="setShowAll(false)" href="#"><?php p($l->t('Show only unread')); ?></a>
</li>