parent
996403fa3b
commit
a060983bd9
@ -1,4 +0,0 @@ |
||||
<span> |
||||
<span bind-unescaped-html="$ctrl.displayText" wp-display-formattable-field-helper></span> |
||||
</span> |
||||
|
@ -1,17 +0,0 @@ |
||||
export class WpDisplayFormattableFieldHelper { |
||||
constructor(protected $scope, |
||||
protected $element) { |
||||
$element.on('click', 'a', function (evt) { |
||||
evt.stopPropagation(); |
||||
}); |
||||
} |
||||
} |
||||
|
||||
function wpDisplayFormattableFieldHelper():ng.IDirective { |
||||
return { |
||||
restrict: 'A', |
||||
controller: WpDisplayFormattableFieldHelper |
||||
}; |
||||
} |
||||
|
||||
angular.module('openproject.workPackages.directives').directive('wpDisplayFormattableFieldHelper', wpDisplayFormattableFieldHelper) |
Loading…
Reference in new issue