Skip to content

Commit

Permalink
Merge pull request #5307 from pizzi80/4.1_mojarra_official_facesjs_re…
Browse files Browse the repository at this point in the history
…place_node_inside_table

faces.js (fixed regression) - replace dom element inside table
  • Loading branch information
BalusC authored Sep 30, 2023
2 parents c826b42 + a33cb30 commit 787c9af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 787c9af

Please sign in to comment.