From 5f3afed60b89941a0daa59402d4b0847530a766f Mon Sep 17 00:00:00 2001 From: kaido207 Date: Thu, 21 Oct 2021 16:32:22 +0900 Subject: [PATCH] Fix #23670 Exclude the header buttons from the method 'disableAllButtons()' effective range. Signed-off-by: kaido207 --- appserver/admingui/common/src/main/resources/js/adminjsf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appserver/admingui/common/src/main/resources/js/adminjsf.js b/appserver/admingui/common/src/main/resources/js/adminjsf.js index b1cbfd2bc26..59599e9af36 100644 --- a/appserver/admingui/common/src/main/resources/js/adminjsf.js +++ b/appserver/admingui/common/src/main/resources/js/adminjsf.js @@ -94,7 +94,7 @@ function disableAllButtons() { var inputs = document.getElementsByTagName("input"); for ( i=0; i < inputs.length; i++) { component = inputs[i]; - if (component.type == "submit"){ + if (component.type == "submit" && !component.id.startsWith("Masthead:")){ component.disabled=true; } }