[bug] admin.js file loaded from site side #976
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#976
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce the issue
add javascript to component
Expected result
admin.js loaded from "/administrator/.../assets/js/admin.js
Actual result
admin.js loaded from "/components/.../assets/js/admin.js
System information (as much as possible)
Additional comments
Same as admin.css
Please note that the script is referenced as follows:
It is not referenced as:
As you can see from the attached image, this is a relative path and does successfully load the admin area JavaScript file.
While we could make it a root-relative link, using a relative path to the application entry-point is more appropriate, especially as we move towards potentially implementing a dynamic admin path.
If you have any further questions or concerns, please let me know and I will be happy to address them.