From 3d0e0af7f251234240aab4ff995d2b7e86af121f Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Thu, 25 Jun 2015 14:28:38 -0700 Subject: [PATCH] [Windowing] Remove variable Excess variable used for CancelAction's ReturnToBrowse. WTD 23. --- platform/commonUI/edit/src/actions/CancelAction.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/commonUI/edit/src/actions/CancelAction.js b/platform/commonUI/edit/src/actions/CancelAction.js index 2b117b5f6d..725f6ee6a7 100644 --- a/platform/commonUI/edit/src/actions/CancelAction.js +++ b/platform/commonUI/edit/src/actions/CancelAction.js @@ -50,11 +50,10 @@ define( // Discard the current root view (which will be the editing // UI, which will have been pushed atop the Browise UI.) function returnToBrowse() { - var urlBrowse = $location.path(urlService.urlForLocation( + $location.path($location.path(urlService.urlForLocation( "browse", domainObject - )); - $location.path(urlBrowse); + ))); } return {