Login window doesn't pop up after I clicked on a javascript link.

RESOLVED INVALID

Status

RESOLVED INVALID
15 years ago
3 years ago

People

(Reporter: szemet1, Assigned: bugs)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2

There is an internal web site where a login window should pop up after I click
on a javascript:gotoCustomers(); link.
But nothing has happend.
On the javascript console the error message is;
Error:  window.top.winMain has no properties.
Source file: http://intranet.compay.com/main.html

This is the javascript code running on that html page.

function gotoCustomers()
{
 window.top.winMain.location = "_scripts/customers.php";
}

If I cut&paste _scripts/customers.php to the url, than the login window
pops up, and I could login to the server, however the frame-set disappears.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Comment 1

14 years ago
what winMain is supposed to be? Most probably it's an id of an HTML element, in
which case you need to getElementById first

Updated

14 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.