OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/components/wp-display/helpers/wp-display-formattable-fiel...

17 lines
489 B

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)