mirror of
https://github.com/nasa/openmct.git
synced 2025-01-12 16:02:51 +00:00
renamed variable
This commit is contained in:
parent
6fb6f54cfa
commit
acb7d4b807
@ -135,9 +135,7 @@ define(
|
|||||||
var event = (e || {}).originalEvent || e,
|
var event = (e || {}).originalEvent || e,
|
||||||
id = event.dataTransfer.getData(GestureConstants.MCT_DRAG_TYPE),
|
id = event.dataTransfer.getData(GestureConstants.MCT_DRAG_TYPE),
|
||||||
domainObjectType = editableDomainObject.getModel().type,
|
domainObjectType = editableDomainObject.getModel().type,
|
||||||
virtualObj;
|
virtualPanel;
|
||||||
|
|
||||||
editableDomainObject.getCapability('status').set('editing', true);
|
|
||||||
|
|
||||||
// If currently in edit mode allow drag and drop gestures to the
|
// If currently in edit mode allow drag and drop gestures to the
|
||||||
// domain object. An exception to this is folders which have drop
|
// domain object. An exception to this is folders which have drop
|
||||||
@ -152,6 +150,7 @@ define(
|
|||||||
navigationService.setNavigation(createVirtualPanel(domainObject, id));
|
navigationService.setNavigation(createVirtualPanel(domainObject, id));
|
||||||
broadcastDrop(id, event);
|
broadcastDrop(id, event);
|
||||||
} else {
|
} else {
|
||||||
|
editableDomainObject.getCapability('status').set('editing', true);
|
||||||
$q.when(action && action.perform()).then(function (result) {
|
$q.when(action && action.perform()).then(function (result) {
|
||||||
//Don't go into edit mode for folders
|
//Don't go into edit mode for folders
|
||||||
if (domainObjectType!=='folder') {
|
if (domainObjectType!=='folder') {
|
||||||
|
Loading…
Reference in New Issue
Block a user