Hold focus on watcher selection

pull/1808/head
Hagen Schink 10 years ago
parent 70b56a892a
commit 4e17b70538
  1. 2
      app/assets/javascripts/angular/work_packages/controllers/details-tab-watchers-controller.js

@ -102,6 +102,8 @@ angular.module('openproject.workPackages.controllers')
function addWatcherSuccess() {
$scope.outputMessage(I18n.t("js.label_watcher_added_successfully"));
$scope.refreshWorkPackage();
$scope.focusElementIndex = ADD_WATCHER_SELECT_INDEX;
}
$scope.deleteWatcher = function(watcher) {

Loading…
Cancel
Save