From acb7d4b807913355bc3a4e4c8c2417cffeff99a8 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 30 Nov 2015 09:35:44 -0800 Subject: [PATCH] renamed variable --- platform/representation/src/gestures/DropGesture.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/representation/src/gestures/DropGesture.js b/platform/representation/src/gestures/DropGesture.js index 6633d06527..1f5147211c 100644 --- a/platform/representation/src/gestures/DropGesture.js +++ b/platform/representation/src/gestures/DropGesture.js @@ -135,9 +135,7 @@ define( var event = (e || {}).originalEvent || e, id = event.dataTransfer.getData(GestureConstants.MCT_DRAG_TYPE), domainObjectType = editableDomainObject.getModel().type, - virtualObj; - - editableDomainObject.getCapability('status').set('editing', true); + virtualPanel; // If currently in edit mode allow drag and drop gestures to the // domain object. An exception to this is folders which have drop @@ -152,6 +150,7 @@ define( navigationService.setNavigation(createVirtualPanel(domainObject, id)); broadcastDrop(id, event); } else { + editableDomainObject.getCapability('status').set('editing', true); $q.when(action && action.perform()).then(function (result) { //Don't go into edit mode for folders if (domainObjectType!=='folder') {