Ticket #9373 (closed bug: wontfix)
domManip (append/prepend/etc.) RE-evaluates contained scripts
|Reported by:||rgibson@…||Owned by:|
Using append (or another method implemented with domManip) to reposition an in-document element causes its scripts to be re-evaluated.
This is so because domManip passes all contained script elements to evalScript, which evaluates their code and removes the elements. I think it should skip evalScript for elements that are not disconnected or are otherwise known to have already been evaluated.
- Priority changed from undecided to low
- Resolution set to wontfix
- Status changed from new to closed
- Component changed from unfiled to manipulation