From e9e6ddd7912d22bc6e0da5dfc99e93a2a5951b6f Mon Sep 17 00:00:00 2001 From: Andrew Henry Date: Wed, 28 Oct 2015 13:01:45 -0700 Subject: [PATCH] Trying to fix drop on folders --- platform/representation/src/gestures/DropGesture.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/representation/src/gestures/DropGesture.js b/platform/representation/src/gestures/DropGesture.js index 918d5bf9a8..533674328a 100644 --- a/platform/representation/src/gestures/DropGesture.js +++ b/platform/representation/src/gestures/DropGesture.js @@ -149,7 +149,10 @@ define( broadcastDrop(id, event); } else { $q.when(action && action.perform()).then(function (result) { - navigationService.setNavigation(editableDomainObject); + //Don't go into edit mode for folders + if (domainObjectType!=='folder') { + navigationService.setNavigation(editableDomainObject); + } broadcastDrop(id, event); }); }