Hi,
I am trying to make the Assignee field readonly in Jira 5.2 with Inline editing enabled. I am using jquery:
<script type="text/javascript">
AJS.$(document).ready(function() {
AJS.$("#assignee-val").removeClass("editable-field inactive");
AJS.$("#assignee-val .icon-edit-sml").remove();
});
</script>
I put this code in the announcement banner but it does not work. However if I try it from the console in the browser (without the script tag) it does work!
Any hints?
Thank you!