diff options
author | Davide Saurino <davide.saurino@alcacoop.it> | 2013-11-13 17:49:44 +0100 |
---|---|---|
committer | Davide Saurino <davide.saurino@alcacoop.it> | 2013-11-13 17:49:44 +0100 |
commit | ef8494777a17f8491ced41ced25859eb7b8b9e9e (patch) | |
tree | d6c83ebe36c018c418222b58a2d800a2a69a3214 /templates | |
parent | 86196178ebd18fea826d00278d811ad89f946db3 (diff) |
Autofocus on rename textfield
Save link is now a button
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.listfeed.php | 6 |
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 }" |