mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
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
This commit is contained in:
1 parent
52066f6440
commit
9886359121
1 file changed
+1
@@ -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<radio.length;i++)
|
||||
if(radio[i].checked)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user