Skip to content

Commit

Permalink
Fix the back button for media list views
Browse files Browse the repository at this point in the history
  • Loading branch information
kjac authored and nul800sebastiaan committed Jun 23, 2019
1 parent 85565f2 commit acf63fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function mediaEditController($scope, $routeParams, $q, appState, mediaResource,
/** Callback for when user clicks the back-icon */
$scope.onBack = function() {
if ($scope.page.listViewPath) {
$location.path($scope.page.listViewPath);
$location.path($scope.page.listViewPath.split("?")[0]);
}
};

Expand Down

0 comments on commit acf63fc

Please sign in to comment.