Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

My Gadget dosent navigates correctly.

Deleted user July 5, 2011

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?

4 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Deleted user July 5, 2011

Yes , I have removed JS and the problem dosen`t exist anymore.Used this tag:

<input type=button onClick="parent.location='http://localhost:2990/jira/secure/project/ViewProject.jspa?pid=10000'" value='click'>

Regards

0 votes
Deleted user July 5, 2011

It is now show?

Andrew Ardill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2011

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.

0 votes
Tom Moors
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2011

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?

Alexander Johannes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2011

you have to add target="_parent", to leave the iframe:

<a href="/..." target="_parent">Link</a>

0 votes
Penny Wyatt (On Leave to July 2021)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2011

I can't see the image you've linked, unfortunately - it gives a 403 error.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events