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

RESOLVED INVALID

Status

Toolkit Graveyard
Error Console
RESOLVED INVALID
14 years ago
a year ago

People

(Reporter: Szemet Lajos, Assigned: Ben Goodger (use ben at mozilla dot org for email))

Tracking

Details

(Reporter)

Description

14 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

13 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

13 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 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.