[Addressability] Comments
Added comments to the slight change in Browse Controller and BrowseObjectController. WTD 25.
This commit is contained in:
@@ -54,6 +54,8 @@ define(
|
||||
if (viewKey) {
|
||||
$location.search('view', viewKey);
|
||||
unlisten = $scope.$on('$locationChangeSuccess', function () {
|
||||
// Checks path to make sure /browse/ is at front
|
||||
// if so, change $route.current
|
||||
if ($location.path().indexOf("/browse/") === 0) {
|
||||
$route.current = priorRoute;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user