mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
fixed a problem reported in http://www.nabble.com/Authorization-exception-on-configure-job-td22417412.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16159 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
5b28310d28
commit
c034b29c71
1 file changed
+1
-1
@@ -2714,7 +2714,7 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
|
||||
* If the user chose the default JDK, make sure we got 'java' in PATH.
|
||||
*/
|
||||
public void doDefaultJDKCheck( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
|
||||
new FormFieldValidator(req,rsp,true) {
|
||||
new FormFieldValidator(req,rsp,false) {
|
||||
public void check() throws IOException, ServletException {
|
||||
String v = request.getParameter("value");
|
||||
if(!v.equals("(Default)"))
|
||||
|
||||
Reference in new issue
Block a user