Skip to content

Commit

Permalink
Fix eclipse-ee4j#23670 Exclude the header buttons from the method 'di…
Browse files Browse the repository at this point in the history
…sableAllButtons()' effective range.

Signed-off-by: kaido207 <kaido.hiroki@fujitsu.com>
  • Loading branch information
kaido207 committed Oct 21, 2021
1 parent c0e97f2 commit 5f3afed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 5f3afed

Please sign in to comment.