summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index d6a434e59..afecddc37 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -17,10 +17,10 @@
revert: true
}">
- <div ui-if="feed.editing" class="rename-feed" ng-controller="ItemController">
+ <div ui-if="feed.editing" class="rename-feed">
<input type="text" ng-model="feed.title" autofocus>
<button title="<?php p($l->t('Cancel')); ?>"
- ng-click="cancel(feed.id)"
+ ng-click="cancel(feed)"
class="action-button back-button action"></button>
<button title="<?php p($l->t('Save')); ?>"
ng-click="feedBusinessLayer.renameFeed(feed.id, feed.title)"
@@ -65,8 +65,7 @@
<button class="svg action rename-feed-icon"
ng-hide="feed.editing || feed.error"
- ng-controller="ItemController"
- ng-click="edit(feed.id)"
+ ng-click="edit(feed)"
title="<?php p($l->t('Rename feed')); ?>"
oc-tooltip></button>