Closed Bug 265302 Opened 20 years ago Closed 13 years ago

mta.info - fatal JavaScript errors

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: sbnewsletter4, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

In the page at http://as0.mta.info/mnr/schedules/sched_form.cfm, pressing the
"Fares" button should bring up a popup.  In Mozilla, it does not do anything.

Reproducible: Always
Steps to Reproduce:
1. Got to http://as0.mta.info/mnr/schedules/sched_form.cfm
2. Change "To Station" combobox to something other than "Grand Central"
3. Press "Fares" button.
Actual Results:  
Nothing.

Expected Results:  
A popup should be displayed showing fares.
javscriptconsole error o_st has no properties

o_st = document.getElementById("orig_station"); calls the id

<SELECT name="orig_station" tabindex="1"> uses name i/o id
A pair of fatal-to-us JavaScript errors: using getElementById on elements with
names but not ids, and then only setting the screen width and height variables
if (document.all || document.layers), neither one of which are true for us, so
we error out when trying to do arithmetic with those undefined variables once
the name/id error is worked around.
Assignee: firefox → english-us
Status: UNCONFIRMED → NEW
Component: General → English US
Ever confirmed: true
Product: Firefox → Tech Evangelism
QA Contact: firefox.general → english-us
Summary: Button is not working → mta.info - fatal JavaScript errors
INCOMPLETE due to lack of activity since the end of 2009.

If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself.

Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.