Added drag to enable edit mode

This commit is contained in:
Andrew Henry
2015-10-20 21:03:36 -07:00
parent 5382cca435
commit 92573b817f
7 changed files with 50 additions and 29 deletions

View File

@@ -98,7 +98,7 @@ define(
// If currently in edit mode allow drag and drop gestures to the
// domain object. An exception to this is folders which have drop
// gestures in browse mode.
if (domainObjectType === 'folder' || domainObject.hasCapability('editor')) {
//if (domainObjectType === 'folder' || domainObject.hasCapability('editor')) {
// Handle the drop; add the dropped identifier to the
// destination domain object's composition, and persist
@@ -108,7 +108,7 @@ define(
broadcastDrop(id, event);
});
}
}
//}
// TODO: Alert user if drag and drop is not allowed
}