paygo-rogers.com - Bad JS prevents login

RESOLVED WORKSFORME

Status

Tech Evangelism Graveyard
English Other
RESOLVED WORKSFORME
14 years ago
3 years ago

People

(Reporter: Peter Canada, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

At https://www.paygo-rogers.com/spe/jsp/index.jsp?NeedLanguage=false the login
in button on the left hand side fails to do anything. Corrective action is
requested as soon as possible. Or let me know if it's not a Browser bug.

Reproducible: Always

Steps to Reproduce:
1.Got to link
2.You can enter a phone number if you have
3.Or just click the login button and it won't do anything.

Actual Results:  
Nothing.... that's the problem. it works in IE under windows but not in mozilla
under linux or windows.

Expected Results:  
Accessed the link.

Comment 1

14 years ago
--> Browser-General


This might be an issue with the site's Javascript, there's an error in the JS
console: "document.divLogin has no properties". Someone who knows JavaScript
better than me should probably take a look at the following code: 


The html code:

<div id="divLogin" ... >
<table ... >
<form method="POST" name="fLogin" action="Login.jsp" >
<input type="hidden" name="hdnAction" value="">

And the in the JS file https://www.paygo-rogers.com/spe/JavaScript/LoginUI.js:


function setFormAction_Submit(path, targetframe, haction) 
{
	var form;
	
	if(document.all) //IE
		form = fLogin;
	else //netscape
		form = document.divLogin.document.fLogin;
	form.action = path;
	form.target = targetframe;
	form.hdnAction.value = haction;
	form.submit();
}



Tech evang?
Component: Java APIs to WebShell → Browser-General

Updated

14 years ago
Assignee: joe.chou → general
QA Contact: avm → general

Comment 2

14 years ago
Stefan is right. document.divlogin is not valid. I'm not a DOM expert but these
are a few ways to access fLogin: document.forms.fLogin , document.fLogin,
document.forms[0]  (If it is the first form).

TE
(Reporter)

Comment 3

14 years ago
This bug still exists in Mozilla 1.6
(Reporter)

Updated

14 years ago
OS: Linux → All

Comment 4

14 years ago
Peter, this is not a browser issue (see comment #2). Reassingning to TE and
confirming.
Assignee: general → english-other
Status: UNCONFIRMED → NEW
Component: Browser-General → English Other
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: general → english-other
Hardware: PC → All
Summary: Login button on left hand fails to work. This bug also appears in the Windows Version as well! → paygo-rogers.com - Bad JS prevents login
Version: Trunk → unspecified
WFM
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.