User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
Two layouts fetch the document through the global application (Factory::getApplication()->getDocument()) instead of the document that was set on the view:
administrator/.../tmpl/weblink/modal.phpcomponents/.../tmpl/weblinks/default.php (its now unused Factory import is removed)They now use $this->getDocument(), as the core layouts do since 4.4. This avoids the global Factory access and uses the document the view was rendered with.
Both render as before with their assets loaded.
Same; the document is fetched from the global application.
None