mirror of
https://github.com/nasa/openmct.git
synced 2025-05-30 06:04:20 +00:00
Drop Gesture
This commit is contained in:
parent
e3cac49c4b
commit
1d0af0b3b6
@ -81,7 +81,7 @@ define(
|
|||||||
//Refresh domain object on each dragOver to catch external
|
//Refresh domain object on each dragOver to catch external
|
||||||
// updates to the model
|
// updates to the model
|
||||||
//Don't use EditableDomainObject for folders, allow immediate persistence
|
//Don't use EditableDomainObject for folders, allow immediate persistence
|
||||||
editableDomainObject = domainObject instanceof EditableDomainObject || domainObject.getModel().type==='folder' ? domainObject : new EditableDomainObject(domainObject, $q);
|
editableDomainObject = domainObject.getDomainObject || domainObject.getModel().type==='folder' ? domainObject : new EditableDomainObject(domainObject, $q);
|
||||||
actionCapability = editableDomainObject.getCapability('action');
|
actionCapability = editableDomainObject.getCapability('action');
|
||||||
|
|
||||||
var event = (e || {}).originalEvent || e,
|
var event = (e || {}).originalEvent || e,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user