The javascript is properly inserted in the banner, but fails to load when viewing individual issues. The reported error points to the triggerConfig variable in the viewissue.js file.
ERROR MSG--
SCRIPT5007: Unable to get value of the property 'FocusConfiguration': object is null or undefined
jira.webresources:viewissue.js, line 3 character 320
JScript Debugger highlights -- {var triggerConfig=new jira.setFocus.FocusConfiguration() as being the part that is null.
The Announcment banner has worked in the past, but no longer appears to load the scripts. Does anyone have any ideas of a possible cause? Thanks.
I just ran into the same issue in my environment. As a workaround I removed the Javascript from the Announcement Banner and registered it a resource in a plugin.
put this code in banner body to hide Votes in People web item
<script> jQuery(document).ready(function() { AJS.$("#peoplemodule").find('.item-details').find("dl").has("dt:contains('Votes:')").hide(); } ); </script>
Works in JIRA 7.0.4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.