eclipse-ee4j / mojarra

Mojarra, a Jakarta Faces implementation
Other
160 stars 109 forks source link

faces.js: isAutoExec test is not needed anymore #5267

Closed pizzi80 closed 1 year ago

pizzi80 commented 1 year ago

Replacing DOM element's innerHTML does not execute the (eventually) injected javascript. This is standard, and we don't need to do this test anymore.

I'll leave the function only as a placeholder to identify the places where it is used in the code.

In the future a new and unique DOM replacement algorithm will replace the current functions, and it will be possible to remove the isAutoExec() function as well

BalusC commented 1 year ago

+1