Skip to content

Commit

Permalink
[FIXED JENKINS-14637] if possible, get all permalinks from target pro…
Browse files Browse the repository at this point in the history
…ject
  • Loading branch information
imod committed Mar 15, 2013
1 parent 1eab08c commit b80b10e
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -3,7 +3,6 @@
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.RelativePath;
import hudson.Util;
import hudson.console.HyperlinkNote;
import hudson.model.AutoCompletionCandidates;
Expand Down Expand Up @@ -265,7 +264,7 @@ public AutoCompletionCandidates doAutoCompleteProjectName(@QueryParameter String
return c;
}

public ListBoxModel doFillPermaLinkItems(@AncestorInPath Job<?, ?> defaultJob, @RelativePath("..") @QueryParameter("projectName") String projectName) {
public ListBoxModel doFillPermaLinkItems(@AncestorInPath Job<?, ?> defaultJob, @QueryParameter("projectName") String projectName) {
// gracefully fall back to some job, if none is given
Job<?, ?> j = null;
if (projectName != null)
Expand Down

0 comments on commit b80b10e

Please sign in to comment.