Permalink
Browse files

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

  • Loading branch information...
recena
recena committed Apr 1, 2016
1 parent 6f2daf4 commit c3ba1ab0efab2552003752af46d659504b69c3e5
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 c3ba1ab

Please sign in to comment.