[29202] Don't open editor unless readable on drop attachment

https://community.openproject.com/wp/29202
pull/6924/head
Oliver Günther 6 years ago
parent 8fd8bd6982
commit 9493702944
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      frontend/src/app/components/wp-edit/wp-edit-field/wp-edit-field.component.ts

@ -93,7 +93,7 @@ export class WorkPackageEditFieldComponent implements OnInit {
// Open the field when its closed and relay drag & drop events to it.
public startDragOverActivation(event:JQueryEventObject) {
if (!this.isDropTarget || this.active) {
if (!this.isDropTarget || !this.isEditable || this.active) {
return true;
}

Loading…
Cancel
Save