Closed Bug 171861 Opened 23 years ago Closed 22 years ago

theaa.com - Next Page fails to load

Categories

(Tech Evangelism Graveyard :: Other, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 149610

People

(Reporter: bugz, Assigned: tristan)

References

()

Details

This link shows the first page of all restaurant listings for Brighton: http://www.theaa.com/getaway/restaurants/restaurant_redirect.jsp?error=&minx=&maxx=&miny=&maxy=&name=&searchType=All&cusineType=All&rossette=0&quickSearch=true&searchFrom=restaurant_home&location=1&searchText=brighton&database=B To get the next page the following buttons are available: 2 | Next page>> | List all results | None of these hyperlinks works in 2002091014
Clicking any one of these links gives the follwing error in Tools > Web Development > JavaScript Console: Error: window.divs.maplayer has no properties Source File: http://www.theaa.com/javascript/mapping.js Line: 294 The JavaScript variable |divs| is initialized as follows in the file http://www.theaa.com/javascript/dynamicobjects.js: function initialiseDivs() { /*Create divs object - an array of divs with cross browser DHTML methods */ divs = new Array(); if (document.all) ie_initialiseDivs(document); else ns_initialiseDivs(document); } function ns_initialiseDivs(doc) { for (var i=0;i<doc.layers.length;i++) { if (doc.layers[i].id) { divs[doc.layers[i].id] = new Div(doc.layers[i]); divs[divs.length] = divs[doc.layers[i].id]; ns_initialiseDivs(doc.layers[i].document); } } nsie_setDivMethods(); ns_setDivMethods(); } This is outdated code that relies on |layers|, a non-W3C proprietary feature of NN4.x, no longer supported in Mozilla/Netscape. Note: there are earlier messages in the JavaScript Console as one navigates the AA site, when these initialization functions are run. It all comes to a head when we hit those "next" links, because then we need the |divs| variable, which has not initialized successfully in Mozilla due to the earlier errors. Reassigning to Tech Evangelism component. Compare bug 149610, "theaa.com - map isn't displayed - doc.layers javascript errors"
Assignee: rogerl → nitot
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Europe: West
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → brantgurganus2001
Summary: Next Page fails to load → [LAYER]Next Page fails to load
Version: other → unspecified
Summary: [LAYER]Next Page fails to load → theaa.com - Next Page fails to load
*** This bug has been marked as a duplicate of 149610 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
move tristan's resolved euro west bugs to other
Component: Europe: West → Other
VERIFIED
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.