From 65ca78d8aa0c1547dd69b79339d449d064d2793f Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 26 Feb 2016 16:34:07 -0800 Subject: [PATCH] Added missing dependency on --- platform/commonUI/edit/bundle.js | 3 ++- platform/commonUI/edit/src/controllers/EditObjectController.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/commonUI/edit/bundle.js b/platform/commonUI/edit/bundle.js index e4b0953267..2e0e0a93f3 100644 --- a/platform/commonUI/edit/bundle.js +++ b/platform/commonUI/edit/bundle.js @@ -94,7 +94,8 @@ define([ "key": "EditObjectController", "implementation": EditObjectController, "depends": [ - "$scope" + "$scope", + "$location" ] } ], diff --git a/platform/commonUI/edit/src/controllers/EditObjectController.js b/platform/commonUI/edit/src/controllers/EditObjectController.js index 96c843b6ea..e46d5cffe1 100644 --- a/platform/commonUI/edit/src/controllers/EditObjectController.js +++ b/platform/commonUI/edit/src/controllers/EditObjectController.js @@ -36,7 +36,7 @@ define( * @memberof platform/commonUI/edit * @constructor */ - function EditObjectController($scope) { + function EditObjectController($scope, $location) { this.scope = $scope; var navigatedObject;