|
|
@ -31,7 +31,7 @@ angular |
|
|
|
.directive('workPackageComment', workPackageComment); |
|
|
|
.directive('workPackageComment', workPackageComment); |
|
|
|
|
|
|
|
|
|
|
|
function workPackageComment($timeout, $location, EditableFieldsState, FocusHelper, |
|
|
|
function workPackageComment($timeout, $location, EditableFieldsState, FocusHelper, |
|
|
|
inplaceEditMultiStorage, ConfigurationService, AutoCompleteHelper, inplaceEditAll) { |
|
|
|
inplaceEditMultiStorage, ConfigurationService, inplaceEditAll) { |
|
|
|
|
|
|
|
|
|
|
|
function commentFieldDirectiveController($scope, $element) { |
|
|
|
function commentFieldDirectiveController($scope, $element) { |
|
|
|
var field = { |
|
|
|
var field = { |
|
|
@ -163,12 +163,6 @@ function workPackageComment($timeout, $location, EditableFieldsState, FocusHelpe |
|
|
|
|
|
|
|
|
|
|
|
controllerAs: 'fieldController', |
|
|
|
controllerAs: 'fieldController', |
|
|
|
bindToController: true, |
|
|
|
bindToController: true, |
|
|
|
controller: commentFieldDirectiveController, |
|
|
|
controller: commentFieldDirectiveController |
|
|
|
|
|
|
|
|
|
|
|
link: function(scope, element) { |
|
|
|
|
|
|
|
$timeout(function() { |
|
|
|
|
|
|
|
AutoCompleteHelper.enableTextareaAutoCompletion(element.find('textarea')); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|