Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
5.9.1, 5.9.1-beta4
-
Standalone atlassian-confluence-5.9.1-beta11 (also atlassian-confluence-5.9.1-beta4)
Description
In Confluence 5.9.1-Beta4 and Confluence 5.9.1-Beta11 an error is thrown if the following new dashboard elements aren’t present in the DOM when loading the dashboard:
#sidebar-discover #sidebar-my-work #sidebar-my-spaces .content-body
Using the RefinedWiki add-on RefinedTheme for Confluence (Marketplace link) provides you with a fully customizable dashboard, allowing you to add any macro or custom content. As such these elements aren’t necessarily present, causing an error. The error in turn causes following scripts not to load in certain browsers like firefox and IE, and the user ends up with a blank page.
The fix would be to not throw errors if the elements aren’t found. As far as I could tell from the batch this is done in a function _ensureElement in the following resource:
/* module-key = 'com.atlassian.confluence.plugins.confluence-dashboard:confluence-dashboard-resources', location = 'js/confluence-dashboard.js' */
Best regards,
Dennis Andersen
RefinedWiki
Attachments
Issue Links
- duplicates
-
CONFSERVER-39989 New Dashboard Resources breaking JS on dashboard for custom theme add-ons
- Closed
- is related to
-
CONFSERVER-39989 New Dashboard Resources breaking JS on dashboard for custom theme add-ons
- Closed