Allow to remove watcher with Enter key

pull/1706/head
Hagen Schink 10 years ago
parent d8c8a0502d
commit 0c3030d3e9
  1. 8
      public/templates/work_packages/tabs/watchers.html

@ -3,13 +3,11 @@
<ul ng-if="watchers.length">
<li ng-repeat="watcher in watchers">
<user-field user="watcher"></user-field>
<a href>
<accessible-by-keyboard execute="deleteWatcher(watcher)" ng-if="watcher.links.removeWatcher">
<icon-wrapper icon-name="close"
icon-title="{{I18n.t('js.button_delete_watcher')}}"
class="detail-panel-watchers-delete-watcher-icon"
ng-if="watcher.links.removeWatcher"
ng-click="deleteWatcher(watcher)"></icon-wrapper>
</a>
class="detail-panel-watchers-delete-watcher-icon"></icon-wrapper>
</accessible-by-keyboard>
</li>
</ul>

Loading…
Cancel
Save