diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-10 10:57:35 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-10 10:57:35 -0400 |
commit | af0bf0486c25b7af0b237a33e2c1088924b84d0c (patch) | |
tree | b41cd75fae87d518345aabf25f32e18ebfb1dcde /templates/part.feeds.php | |
parent | d6532b0418fda7f97e72b6bfdbac2b401055c925 (diff) |
update views when you remove a feed or mark item as read
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r-- | templates/part.feeds.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php index 60dc4efbc..f899695e9 100644 --- a/templates/part.feeds.php +++ b/templates/part.feeds.php @@ -15,7 +15,7 @@ } elseif ($child instanceOf OC_News_Feed) { //onhover $(element).attr('id', 'newID'); - echo '<li class="feeds_list"><a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '">' . $child->getTitle() .'</a>'; + echo '<li class="feeds_list" data-id="' . $child->getId() . '"><a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '">' . $child->getTitle() .'</a>'; echo '<button class="svg action" id="feeds_delete" onClick="(News.Feed.delete(' . $child->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; echo '<button class="svg action" id="feeds_edit" title="' . $l->t('Edit feed') . '"></button>'; echo '</li>'; |