summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDavide Saurino <davide.saurino@alcacoop.it>2013-11-13 17:49:44 +0100
committerDavide Saurino <davide.saurino@alcacoop.it>2013-11-13 17:49:44 +0100
commitef8494777a17f8491ced41ced25859eb7b8b9e9e (patch)
treed6c83ebe36c018c418222b58a2d800a2a69a3214 /templates
parent86196178ebd18fea826d00278d811ad89f946db3 (diff)
Autofocus on rename textfield
Save link is now a button
Diffstat (limited to 'templates')
-rw-r--r--templates/part.listfeed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 1273d2317..7dde3a660 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -17,9 +17,9 @@
revert: true
}">
- <div ng-show="feed.editing" class="rename-feed">
- <input type="text" ng-model="feed.title">
- <a href="#" ng-click="feedBusinessLayer.renameFeed(feed.id, feed.title)">Save</a>
+ <div ui-if="feed.editing" class="rename-feed">
+ <input type="text" ng-model="feed.title" autofocus>
+ <button ng-click="feedBusinessLayer.renameFeed(feed.id, feed.title)">Save</button>
</div>
<a ng-style="{ backgroundImage: feed.faviconLink }"