Trying to fix drop on folders

This commit is contained in:
Andrew Henry 2015-10-28 13:01:45 -07:00
parent 2539e4008f
commit e9e6ddd791

View File

@ -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);
});
}