From a33cb30606fb0fd75c1e13e48f2030aada8983c6 Mon Sep 17 00:00:00 2001 From: pizzi80 Date: Tue, 5 Sep 2023 19:50:09 +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') {