Fixes to CSS and scripts not loading properly#798
Conversation
Removed DEFER from ui_components as the device details page would not populate any more and the browser console would throw errors re function not found
|
thank you @ingoratsdorf 🙏 |
|
|
||
| <!-- NetAlertX --> | ||
| <script src="js/handle_version.js"></script> | ||
| <script defer src="js/ui_components.js?v=<?php include 'php/templates/version.php'; ?>"></script> |
There was a problem hiding this comment.
FYI - I had to reinsert the defer statement because the devices listing page wouldn't load at all - happy to investigate the detail page further, but for now I had to roll back this change
There was a problem hiding this comment.
Interesting. For me, with the 'defer' the details page loads but all fields are empty.
If I delete the 'defer', the page loads with all details.
There was a problem hiding this comment.
Is it possible that it's caused by the values in the fields? I'm running a clean installation in parallel and the details page loads fine. If recommend checking the dev console of the browser.
|
I cannot recall the exact message in the bowser console but something along the lines of "call of undefined updateIconPreview()". |
|
Thanks for that! I think I fixed that error in the dev image. I modified the |
DEFER in footer for ui_components breaks device details page
Typo in CSS in device details