I have a gadget ,that must navigates to determinated page.
Instead,the following is obtained:
I use java script command like this:
window.location = 'http://localhost:2990/jira/secure/project/ViewProject.jspa?pid=10000'
Where is my mistake?
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Radoslav, when replying to comments you should use the 'add comment' link, as only answers to your original question should be listed as answers. You should be able to convert this answer to a comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A gadget is a component that runs in an OpenSocial container. Every gadget on the dashboard will be placed inside an IFrame, this could cause the behavior you are experiencing.
Can you try a plain url, without the javascript?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have to add target="_parent", to leave the iframe:
<a href="/..." target="_parent">Link</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't see the image you've linked, unfortunately - it gives a 403 error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.