diff --git a/platform/commonUI/browse/bundle.json b/platform/commonUI/browse/bundle.json index e3284d99b5..6cb0fcdb27 100644 --- a/platform/commonUI/browse/bundle.json +++ b/platform/commonUI/browse/bundle.json @@ -20,6 +20,7 @@ "$scope", "$route", "$location", + "$q", "objectService", "navigationService", "urlService" @@ -34,7 +35,7 @@ { "key": "BrowseObjectController", "implementation": "BrowseObjectController.js", - "depends": [ "$scope", "$location", "$route" ] + "depends": [ "$scope", "$location", "$route", "$q" ] }, { "key": "CreateMenuController", @@ -62,6 +63,7 @@ { "key": "browse-object", "templateUrl": "templates/browse-object.html", + "gestures": ["drop"], "uses": [ "view" ] }, { diff --git a/platform/commonUI/browse/res/templates/browse-object.html b/platform/commonUI/browse/res/templates/browse-object.html index 97574b46a3..2131abc38c 100644 --- a/platform/commonUI/browse/res/templates/browse-object.html +++ b/platform/commonUI/browse/res/templates/browse-object.html @@ -20,13 +20,8 @@ at runtime from the About dialog for additional information. -->
-Set EditMode to {{!editMode}}
@@ -50,23 +45,20 @@
-
- - - - + - + --> - - + --> - diff --git a/platform/representation/src/gestures/DropGesture.js b/platform/representation/src/gestures/DropGesture.js index bfcb85d3bb..f082c4150d 100644 --- a/platform/representation/src/gestures/DropGesture.js +++ b/platform/representation/src/gestures/DropGesture.js @@ -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 }