Skip to content

Commit

Permalink
[JENKINS-13035] Only show this option when more than 1
Browse files Browse the repository at this point in the history
MyViewTabBar available.
  • Loading branch information
ialbors-pfc committed Feb 24, 2014
1 parent 0865404 commit 026b031
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,10 +1,10 @@
package hudson.views.MyViewsTabBar.GlobalConfigurationImpl

import hudson.views.ViewsTabBar
import hudson.views.MyViewsTabBar

def f=namespace(lib.FormTagLib)

def all = ViewsTabBar.all()
def all = MyViewsTabBar.all()
if (all.size()>1) {
f.dropdownDescriptorSelector(title:_("My Views Tab Bar"),field:"myViewsTabBar")
}

0 comments on commit 026b031

Please sign in to comment.