Details
-
Bug
-
Resolution: Obsolete
-
Low
-
5.4.4
-
None
Description
The call to $.ajax should be AJS.$.ajax in the file tinyMce-autocomplete-settings-mentions.js of the Confluence Mentions plugin.
if (url) { xhr = $.ajax({ type: "GET", url: url, data: getParams(autoCompleteControl, val), dataType: "json", global: false, timeout: 10000 });
This may lead to a JS error when using mentions. The errors produced will look like:
- Firefox: TypeError: $ is undefined
- Chrome: Uncaught TypeError: Cannot read property 'ajax' of undefined
- IE10: Unable to get property 'ajax' of undefined or null reference
Workaround
- Go to the "Custom HTML" section of the Confluence Administration Console.
- Add the following text to the "At end of the HEAD" section:
<script type="text/javascript"> var $ = jQuery; </script>
Attachments
Issue Links
- is related to
-
CONFSERVER-33118 Disabling workbox or disabling In-app Notifications cause mention functionality to break
- Closed
- mentioned in
-
Page Loading...