I have a custom field with a help dialog that runs using the javascript outlined in https://confluence.atlassian.com/jira064/creating-help-for-a-custom-field-720412166.html It works fine on the Create Issue screen, but on the Edit screen nothing happens when the question mark icon is clicked.
Here is the script:
SB and RRT Descriptions
<script type="text/javascript">
function showHelp() {
var listenersDiv = document.getElementById("qaFieldHelp");
if (listenersDiv.style.display == 'none') {
listenersDiv.style.display = '';
} else {
listenersDiv.style.display='none';
}
}
</script>
<a href="#" onclick="showHelp(); return false;"><img src="/images/icons/ico_help.png"/></a>
<div id="qaFieldHelp" style="display:none">
Help Text
</div>
Any thoughts on how I could get this to work on the Edit screen?