Permalink
Browse files

[JENKINS-33972] View.doCategories renamed to doItemCategories.

  • Loading branch information...
jglick committed Apr 1, 2016
1 parent 6f2daf4 commit dab943292bcc6121c62701cb62307edce09c6d31
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/com/cloudbees/hudson/plugins/folder/FolderAddFilter.java
@@ -40,8 +40,8 @@
@Override public boolean filter(Object context, Descriptor descriptor) {
StaplerRequest req = Stapler.getCurrentRequest();
// View/newJob.jelly for 1.x, View.doCategories for 2.x
if (req == null || !req.getRequestURI().matches(".*/(newJob|categories)")) {
// View/newJob.jelly for 1.x, View.doItemCategories for 2.x
if (req == null || !req.getRequestURI().matches(".*/(newJob|itemCategories)")) {
return true;
}
if (!(descriptor instanceof TopLevelItemDescriptor)) {

0 comments on commit dab9432

Please sign in to comment.