summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-08-27 20:00:35 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-08-27 20:00:35 +0200
commit73e0c1704dc6a62a571f8d26b073349e3442298d (patch)
tree6791eaf7b240738d2e36f31b06086827fadf2342
parentc7c2bf214c9cf6bde0c563ee68ffb5b61ed9734e (diff)
use only one button for edit
-rw-r--r--js/build/app.js1
-rw-r--r--js/directive/AppNavigationEntryUtils.js1
-rw-r--r--templates/part.listfeed.php3
3 files changed, 0 insertions, 5 deletions
diff --git a/js/build/app.js b/js/build/app.js
index c718e3c2c..47cf21bd3 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -1552,7 +1552,6 @@ var $__build_47_app__ = function () {
restrict: 'C',
link: function (scope, elm) {
var menu = elm.siblings('.app-navigation-entry-menu');
- menu.hide();
var button = $(elm).find('.app-navigation-entry-utils-menu-button button');
button.click(function () {
menu.toggle();
diff --git a/js/directive/AppNavigationEntryUtils.js b/js/directive/AppNavigationEntryUtils.js
index 8deb09b61..2c7953bd2 100644
--- a/js/directive/AppNavigationEntryUtils.js
+++ b/js/directive/AppNavigationEntryUtils.js
@@ -20,7 +20,6 @@ app.directive('appNavigationEntryUtils', () => {
restrict: 'C',
link: (scope, elm) => {
let menu = elm.siblings('.app-navigation-entry-menu');
- menu.hide();
let button = $(elm)
.find('.app-navigation-entry-utils-menu-button button');
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 3673c4958..e5b993d43 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -34,9 +34,6 @@
<div ng-if="feed.editing" class="app-navigation-entry-edit">
<input name="feedRename" type="text" value="{{ feed.title }}" news-auto-focus>
- <button title="<?php p($l->t('Cancel')); ?>"
- ng-click="feed.editing=false"
- class="action icon-close"></button>
<button title="<?php p($l->t('Rename')); ?>"
ng-click="Navigation.renameFeed(feed.id, feed.title)"
class="action icon-checkmark">