when there's just one module, showing a checkbox is silly.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3405 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-06-07 05:56:36 +00:00
1 parent a9684270e9
commit a95ce545f5
2 files changed
+10 -5

No files matched your search

@@ -108,8 +108,8 @@ public class SubversionTagAction extends AbstractScmTagAction {
int i=-1;
for (Entry<SvnInfo, String> e : tags.entrySet()) {
i++;
if(req.getParameter("tag"+i)==null)
continue;
if(tags.size()>1 && req.getParameter("tag"+i)==null)
continue; // when tags.size()==1, UI won't show the checkbox.
newTags.put(e.getKey(),req.getParameter("name" + i));
}