From 71ca13b5ea4ef330d72e94f8445214afb52590c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 17 Jul 2017 14:47:30 +0200 Subject: [PATCH] Remove focus directive on all fields --- .../work-package-comment/work-package-comment.directive.html | 3 +-- .../wp-edit/field-types/wp-edit-boolean-field.directive.html | 2 -- .../wp-edit/field-types/wp-edit-date-field.directive.html | 2 -- .../wp-edit/field-types/wp-edit-duration-field.directive.html | 2 -- .../wp-edit/field-types/wp-edit-float-field.directive.html | 2 -- .../wp-edit/field-types/wp-edit-integer-field.directive.html | 2 -- .../field-types/wp-edit-multi-select-field.directive.html | 4 ---- .../wp-edit/field-types/wp-edit-select-field.directive.html | 2 -- .../wp-edit/field-types/wp-edit-text-field.directive.html | 3 +-- .../field-types/wp-edit-wiki-textarea-field.directive.html | 2 -- 10 files changed, 2 insertions(+), 22 deletions(-) diff --git a/frontend/app/components/work-packages/work-package-comment/work-package-comment.directive.html b/frontend/app/components/work-packages/work-package-comment/work-package-comment.directive.html index ab0e6b5515..b334e8ad26 100644 --- a/frontend/app/components/work-packages/work-package-comment/work-package-comment.directive.html +++ b/frontend/app/components/work-packages/work-package-comment/work-package-comment.directive.html @@ -23,8 +23,7 @@ span-class="inplace-editing--container wp-edit-field--display-field" link-class="inplace-editing--trigger-link" link-aria-label="{{ ::vm.text.editTitle }}" - execute="vm.activate()" - focus="vm.shouldFocus()"> + execute="vm.activate()"> diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html index b913fae2d1..7d736d7a37 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html @@ -7,6 +7,4 @@ ng-focus="vm.handleUserFocus()" ng-blur="vm.handleUserBlur()" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" /> diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-date-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-date-field.directive.html index 55e5c2b4f3..68b24837a9 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-date-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-date-field.directive.html @@ -11,8 +11,6 @@ ng-keydown="vm.handleUserSubmitOnEnter($event)" ng-required="vm.field.required" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" /> diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-duration-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-duration-field.directive.html index 92fe5d57ab..1487a7e891 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-duration-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-duration-field.directive.html @@ -8,6 +8,4 @@ ng-blur="vm.handleUserBlur()" ng-keydown="vm.handleUserSubmitOnEnter($event)" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" /> diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-float-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-float-field.directive.html index f67e6d33c7..33525996c8 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-float-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-float-field.directive.html @@ -8,6 +8,4 @@ ng-keydown="vm.handleUserSubmitOnEnter($event)" transform-float-value ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" /> diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-integer-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-integer-field.directive.html index f91d42b432..8d512cd6ae 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-integer-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-integer-field.directive.html @@ -7,6 +7,4 @@ ng-blur="vm.handleUserBlur()" ng-keydown="vm.handleUserSubmitOnEnter($event)" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" /> diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-multi-select-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-multi-select-field.directive.html index d0e599567c..3ae4d1a32e 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-multi-select-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-multi-select-field.directive.html @@ -10,8 +10,6 @@ ng-required="vm.field.required" ng-focus="vm.handleUserFocus()" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" ng-change="vm.handleUserSubmit()" > @@ -34,8 +32,6 @@ ng-required="vm.field.required" ng-focus="vm.handleUserFocus()" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" multiple="" size=5 diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-select-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-select-field.directive.html index 2a9de1078d..8c30f8f1e5 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-select-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-select-field.directive.html @@ -6,8 +6,6 @@ ng-required="vm.field.required" ng-focus="vm.handleUserFocus()" ng-disabled="vm.workPackage.inFlight" - focus="vm.shouldFocus()" - focus-priority="vm.shouldFocus()" ng-attr-id="{{vm.htmlId}}" role="listbox">