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/app/assets/javascripts/angular/directives/modal_directive.js

13 lines
309 B

openprojectApp.directive('modal', [function() {
return {
restrict: 'A',
scope: {
target: '='
},
link: function(scope, element, attributes) {
element.on('click', function(e){
modalHelperInstance.createModal(scope.target, function (modalDiv) {});
});
}
};
}]);