Fixes #5932, showing "Return to ListView" for new content
(cherry picked from commit f3fc83fae6)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
f829ac4e6c
commit
ea591c87a2
@@ -184,6 +184,10 @@
|
||||
|
||||
$scope.content = data;
|
||||
|
||||
if (data.isChildOfListView && data.trashed === false) {
|
||||
$scope.page.listViewPath = $routeParams.page ? '/content/content/edit/' + data.parentId + '?page=' + $routeParams.page : '/content/content/edit/' + data.parentId;
|
||||
}
|
||||
|
||||
init($scope.content);
|
||||
|
||||
resetLastListPageNumber($scope.content);
|
||||
|
||||
Reference in New Issue
Block a user