mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
Fixed folders
This commit is contained in:
parent
929f06e6c1
commit
8fb6ab61ba
@ -80,7 +80,8 @@ define(
|
||||
function dragOver(e) {
|
||||
//Refresh domain object on each dragOver to catch external
|
||||
// updates to the model
|
||||
editableDomainObject = domainObject instanceof EditableDomainObject ? domainObject : new EditableDomainObject(domainObject, $q);
|
||||
//Don't use EditableDomainObject for folders, allow immediate persistence
|
||||
editableDomainObject = domainObject instanceof EditableDomainObject || domainObject.getModel().type==='folder' ? domainObject : new EditableDomainObject(domainObject, $q);
|
||||
actionCapability = editableDomainObject.getCapability('action');
|
||||
|
||||
var event = (e || {}).originalEvent || e,
|
||||
|
Loading…
x
Reference in New Issue
Block a user