Hi,
I am using java script in description field of a custom field (of text type) to render it as a hyperlink (anchor tag).
But on editing/inline editing the jira-issue, the field value gets rendered as a normal text and not as a hyperlink.
On page refresh the field gets displayed again as hyperlink.
I tried "alerting" the value, it appears that after the edit operation (which is an ajax call) value of the custom field div changes to some "form".
Posting this here hoping some one who has come across similar problem could help me.
Thanks,
Aravind
you need to use following event for inline edit
JIRA.CONTENT_ADDED_REASON.inlineEditStarted
check this doc
https://developer.atlassian.com/display/JIRADEV/Inline+Edit+for+JIRA+Plugins
i found this exact same issue with my javascript intensive plugin. The field is getting re-rendered without the javascript getting run. Add your rendering logic within the following JIRA.bind
JIRA.bind( JIRA.Events.NEW_CONTENT_ADDED, function(e,context)
{
// rerun javascript here
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.