mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
Only switch into edit mode if view is editable (#2367)
This commit is contained in:
committed by
Deep Tailor
parent
6bf4b3aba8
commit
c577d2e231
@ -28,11 +28,6 @@ export default class Editor extends EventEmitter {
|
||||
super();
|
||||
this.editing = false;
|
||||
this.openmct = openmct;
|
||||
document.addEventListener('drop', (event) => {
|
||||
if (!this.isEditing()) {
|
||||
this.edit();
|
||||
}
|
||||
}, {capture: true});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user