mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
Fixed #922 that causes 404 in sidepanel links.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5363 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
13deb34582
commit
7f2d4faf37
1 file changed
+1
-1
@@ -811,7 +811,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
|
||||
FilePath ws = getWorkspace();
|
||||
if(!ws.exists()) {
|
||||
// if there's no workspace, report a nice error message
|
||||
rsp.forward(this,"noWorkspace",req);
|
||||
req.getView(this,"noWorkspace.jelly").forward(req,rsp);
|
||||
} else {
|
||||
new DirectoryBrowserSupport(this,getDisplayName()+" workspace").serveFile(req, rsp, ws, "folder.gif", true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user