Code macro and status macro popup window is frozen and in endless loading status.
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Trying to open a Status Macro or Code macro will freeze a popup window and cause endless loading.

Environment
Confluence 7
Diagnosis
Browser console logs are showing "AJS.clone is not a function".
In atlassian-confluence logs, nothing is visible.
The browser network tab is showing no problems, all requests are loading with 200.
In Confluence Administration > Manage add-ons, we can see a few apps that are incompatible with Confluence, like Numbered Headings 3.0.2 from Avisi B.V.
Cause
Old addons that are incompatible with Confluence might use deprecated Javascript functions that can cause an issue like this.
Solution
Disable the incompatible add-ons (like Numbered Headings 3.0.2 from Avisi B.V), and refresh the page.
Was this helpful?