diff --git a/platform/commonUI/browse/res/templates/browse/object-header.html b/platform/commonUI/browse/res/templates/browse/object-header.html
index 895761f514..eb3bd4f093 100644
--- a/platform/commonUI/browse/res/templates/browse/object-header.html
+++ b/platform/commonUI/browse/res/templates/browse/object-header.html
@@ -25,6 +25,6 @@
{{parameters.mode}}
{{type.getName()}}
{{model.name}}
-
+
\ No newline at end of file
diff --git a/platform/commonUI/browse/src/MenuArrowController.js b/platform/commonUI/browse/src/MenuArrowController.js
index e6ab84b5d3..818af4fc49 100644
--- a/platform/commonUI/browse/src/MenuArrowController.js
+++ b/platform/commonUI/browse/src/MenuArrowController.js
@@ -36,7 +36,7 @@ define(
* @constructor
*/
function MenuArrowController($scope) {
- var domainObject = $scope.domainObject,
+ var //domainObject = $scope.domainObject,
context;
function showMenu(event) {
@@ -44,18 +44,19 @@ define(
console.log('$scope ', $scope);
console.log('$scope.domainObject ', $scope.domainObject);
- console.log('domainObject ', domainObject);
+ //console.log('domainObject ', domainObject);
console.log('event ', event);
- context = {key: 'menu', event: event, domainObject: domainObject};
- domainObject.getCapability('action').perform(context);
+ context = {key: 'menu', event: event, domainObject: $scope.domainObject};
+ $scope.domainObject.getCapability('action').perform(context);
}
-
+ /*
// attempt to set the domain object
$scope.$watch('domainObject', function (c) {
domainObject = c;
console.log('watcher called');
});
+ */
return {
showMenu: showMenu
diff --git a/platform/representation/src/actions/ContextMenuAction.js b/platform/representation/src/actions/ContextMenuAction.js
index c2368bdf95..4881349952 100644
--- a/platform/representation/src/actions/ContextMenuAction.js
+++ b/platform/representation/src/actions/ContextMenuAction.js
@@ -50,7 +50,7 @@ define(
function ContextMenuAction($compile, $document, $window, $rootScope, actionContext) {
function perform() {
- //console.log('in perform()');
+ console.log('in perform()');
var winDim = [$window.innerWidth, $window.innerHeight],
eventCoors = [actionContext.event.pageX, actionContext.event.pageY],
menuDim = GestureConstants.MCT_MENU_DIMENSIONS,