diff --git a/landing/js/landing.js b/landing/js/landing.js index c6f1a23..6124da6 100644 --- a/landing/js/landing.js +++ b/landing/js/landing.js @@ -684,9 +684,12 @@ var p = encodeURIComponent(project); var stages = [ { id: 'stageArchive', href: '/' + p + '/archive' }, - { id: 'stageWorking', href: '/' + p + '/working' }, - { id: 'stageStaging', href: '/' + p + '/staging' }, - { id: 'stageReviewing', href: '/' + p + '/reviewing' }, + // working/staging/reviewing get a trailing slash so the user lands + // INSIDE the folder (the dir_tool browse listing of parties), + // not on the browse tool scoped at the project level. + { id: 'stageWorking', href: '/' + p + '/working/' }, + { id: 'stageStaging', href: '/' + p + '/staging/' }, + { id: 'stageReviewing', href: '/' + p + '/reviewing/' }, ]; for (var i = 0; i < stages.length; i++) { var a = document.getElementById(stages[i].id);