From 2de09da1d68dc1b10bb48be39fa58887c80051a5 Mon Sep 17 00:00:00 2001 From: pizzi80 Date: Tue, 5 Sep 2023 20:30:00 +0200 Subject: [PATCH] faces.js replace dom element inside table regression fixed Signed-off-by: pizzi80 --- .../META-INF/resources/jakarta.faces/faces-uncompressed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js b/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js index e3e310e020..99b88d0f0d 100644 --- a/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js +++ b/impl/src/main/resources/META-INF/resources/jakarta.faces/faces-uncompressed.js @@ -950,7 +950,7 @@ if ( !( (window.faces && window.faces.specversion && window.faces.specversion >= newElement = newElement.firstChild; } - replaceNode(element,newElement); + replaceNode(newElement,element); runScripts(scripts); } else if (element.nodeName.toLowerCase() === 'input') {