Permission denied to access property jQuery

I have just started getting this error for the popup Issue Collector .. has something changed?

I have also created a test support html page with only the basic jquery coding in it as a test. This also fails with the same error.

---------------------------

Error: Permission denied to access property "jQuery"

(function(){var jQuery=window.top.jQuery||window.jQuery;function getNewScrollTop(options){options=options||{};options.marginTop=options.marginTop||options.margin||0;options.marginBottom=options.marginBottom||options.margin||0;var $window=jQuery(window.top);var $stalker=jQuery("#stalker");var scrollTop=$window.scrollTop();var scrollHeight=$window.height();var offsetTop=Math.max(0,getPageY(this[0])-options.marginTop);var offsetHeight=options.marginTop+this.outerHeight()+options.marginBottom;var newScrollTop=scrollTop;if(newScrollTop+scrollHeight<offsetTop+offsetHeight){newScrollTop=offsetTop+offsetHeight-scrollHeight}if($stalker.length!==0){var offsetParent=this[0];var positionedParent=null;do{if(jQuery(offsetParent).css("position")==="absolute"){positionedParent=offsetParent}}while(offsetParent=offsetParent.offsetParent);if(positionedParent&&getPageY(positionedParent)>getPageY($stalker[0])){offsetTop-=$stalker.outerHeight()}}if(newScrollTop>offsetTop){newScrollTop=offsetTop}return newScrollTop}function getPageY(element){var currElement=element,offsetTop=0;do{offsetTop+=currElement.offsetTop}while(currElement=currElement.offsetParent);currElement=element;do{if(currElement&&currElement.scrollTop){offsetTop-=currElement.scrollTop}currElement=currElement.parentNode}while(currElement&&currElement!=document.body);return offsetTop}window.jQuery.fn.scrollIntoView=function(options){if(this.length===0){return this}var fixedParent=this.hasFixedParent();if(!fixedParent){options=options||{};if(!this.is(":visible")&&options.callback){options.callback();return this}var scrollTop=jQuery(window.top).scrollTop();var newScrollTop=getNewScrollTop.call(this,options);var $stalker=jQuery("#stalker");if(newScrollTop!==scrollTop){var $target=this;var $document=jQuery(window.top.document);$document.trigger("moveToStarted",$target);if(options.duration){$document.find("body, html").stop(true).animate({scrollTop:newScrollTop},options.duration,"swing",function(){if(options.callback){options.callback()}$document.trigger("moveToFinished",$target);$stalker.trigger("positionChanged")})}else{$document.find("body, html").prop("scrollTop",newScrollTop)}}else{if(options.callback){options.callback()}}}else{var $elementToScrollTo=jQuery(this),$fixedParent=jQuery(fixedParent),fixedParentHeight=$fixedParent.outerHeight(),fixedParentScrollTop=$fixedParent.scrollTop(),fixedParentScrollBottom=fixedParentScrollTop+fixedParentHeight,elementPosition=$elementToScrollTo.position(),elementPositionBottom=elementPosition.top+$elementToScrollTo.height();var below=elementPositionBottom+fixedParentScrollTop>fixedParentScrollBottom,above=elementPosition.top<0;if(below){$fixedParent.scrollTop(fixedParentScrollTop+elementPositionBottom-fixedParentHeight)}else{if(above){$fixedParent.scrollTop(fixedParentScrollTop+elementPosition.top)}}}return this};jQuery.fn.isInView=function(options){if(this.length>0&&!this.hasFixedParent()){options=options||{};var scrollTop=jQuery(window.top).scrollTop();var newScrollTop=getNewScrollTop.call(this,options);return newScrollTop===scrollTop}return this}})();;

1 answer

See the very simple test page that has the 'prominent' button at the top of the page https://dev-markethive.com/support_test.html

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

103 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you