Closed Bug 864264 Opened 13 years ago Closed 13 years ago

jquery.slidedeck pages Stopped working in Ffox 20.0.x

Categories

(Tech Evangelism Graveyard :: English Other, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alexandropoulosl, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20130307074601 Steps to reproduce: Our home pages in two of our websites both use a variant of jquery based "slider".. Everything works fine up to Ffox ESR 17.0.4.. and both sites "break" at 20.0.x or perhaps even before that (!(release 18? release 19 ?). Other browsers (IE, Chrome) are working fine.. The sliding components freeze and/or appear unformatted / messed up. Errors appear in the console. ================== The errors are consistent and reproducible see www.acs.gr and www.artscenter.gr Best regards, Leo Actual results: We have noticed that future Ffox releases (20.0) ( that are coming up - as far as our environment is concerned) are NOT working.. Expected results: Webpages and related code+styles should display as usual.
The script at storage/scripts/slidedeck/slidedeck.jquery.js (on acs.gr, or at http://www.artscenter.gr/storage/scripts/slidedeck/slidedeck.jquery.js on the other site) has this lovely bit: this.browser = { .... firefox2: F.match(/firefox\/2/) ? true : false, Now obviously this is going to test true in "Firefox 20.0". Then the script proceeds to do this: if ((D.browser.opera && D.browser.version < "10.5") || D.browser.msie6 || D.browser.firefox2 || D.browser.firefox30) { if (typeof (console) != "undefined") { if (typeof (console.error) == "function") { console.error("This web browser is not supported by SlideDeck. Please view this page in a modern, CSS3 capable browser or a current version of Inernet Explorer") } } return false So of course in Firefox 20 it just logs that message and then proceeds to not actually initialize the slide deck stuff. If I just change the UA string of Firefox 20 to "xyz", the site starts working correctly. See also http://www.slidedeck.com/blog/firefox-20-update-and-slidedeck-js-weve-got-you-covered/ I suggest fixing this buggy script...
Assignee: nobody → english-other
Component: General → English Other
Product: Core → Tech Evangelism
Version: 20 Branch → Trunk
Summary: Jquery pages Stopped working in Ffox 20.0.x → jquery.slidedeck pages Stopped working in Ffox 20.0.x
Thank you, resolved. This was the reason (Ffox check version) and it was fixed in the latest (and last) release of SD. -L
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Fixed, as an evangelism bug. ;) Thank you for getting that library updated!
Resolution: INVALID → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.