|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-06-11 10:22 UTC] simon dot sattes at headwork dot de
On every pageview Opera 7.11 (Win2000) throws an onload-Error-Event, which follows below: Event thread: onload Error: name: ReferenceError message: Statement on line 64: Reference to undefined variable: No such variable 'show' Backtrace: Line 64 of linked script http://static.php.net/www.php.net/userprefs.js for (var i = 0; i < show.length; i++) In unknown script searchHistory(); At unknown location {event handler trampoline} PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jun 18 06:00:02 2026 UTC |
Erm, sorry. I was not able to test with opera, and quite mainstream [it seemed to be] JS syntax, which should work in all browsers. Seems that it is not working though. The script there has a with{} block, which enables us to have mor logical looking code. I guess Opera understands that with{} block, as it drops no error on that. It enters that block, and gives an error on a reference, which should be parsed in the context of the with{} block. We have this script for quite some days now online, and you are the first to complain about a JS error. Can you please check with another Opear browser version too? I suppose this is a bug in Opera. Or in case you think we have buggy JS code, then I would be happy if you would be able to provide us a better one, so everyone will be satisfied. Thanks for your reportThat with{} construct was removed some time ago, so this should be fixed. Please reopen if you still experience the problem.