From 9886359121a0f5dced349a4c19a96b108dd67d23 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Thu, 3 Dec 2009 18:18:33 +0000 Subject: [PATCH] if no radio button exists, the "OK" button should be clickable. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24380 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/resources/lib/hudson/newFromList/form.jelly | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/resources/lib/hudson/newFromList/form.jelly b/core/src/main/resources/lib/hudson/newFromList/form.jelly index 08a3284920..fcb6258065 100644 --- a/core/src/main/resources/lib/hudson/newFromList/form.jelly +++ b/core/src/main/resources/lib/hudson/newFromList/form.jelly @@ -79,6 +79,7 @@ THE SOFTWARE. function state() { if($('name').value.length==0) return true; var radio = form.elements['mode']; + if (radio.length==0) return false; for(i=0;i