I have created multiple custom webwork1 elements in JIRA, each having their .vm files and JiraActionSupport doDefault/doExecute classes.
Every one of them has the same page title:
<title> - DEVELJIRA</title>
I assume there is a way to set the first part of this title but I can't seem to find how. Currently I can achieve it by putting this in the .vm file:
jQuery(document).ready(function () { document.title = 'Hello world'; });
But that really seems like not the correct way :)
Community moderators have prevented the ability to post new answers.
In your .vm, just put the title tag and it will get used.
Nope, I had tried that before. I created my own <head><title></title></head> (and also tried without the <head> parts). Neither worked, since Jira wraps the .vm in its own tags, where it has its own title.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about the <HTML> tag? Did you try that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Damn, that actually worked! Thanks! :)
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.