Closed
Bug 22269
Opened 25 years ago
Closed 23 years ago
javascript error in Netscape (query.cgi)
Categories
(Bugzilla :: Query/Bug List, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: dirtydoris, Assigned: endico)
References
()
Details
(Whiteboard: 2.16)
Netscape comes up with a javascript error - selectProduct is not defined. I believe the problem is that it doesn't onLoad properly - it should have read the subsequent stuff before, otherwise it wouldn't have loaded. Tried sticking onload at bottom of SCRIPT, but perhaps better is to put it on its own as the last thing in the file in a SCRIPT block.
Comment 1•25 years ago
|
||
I get this in NS 3.04 too (HP-UX 10.20) - my suggestion for a fix is to set up a SCRIPT LANGUAGE=JavaScript section (before the JavaScript1.2 code) with dummy functions (e.g. a SelectProduct() routine that does nothing). I suspect that SCRIPT LANGUAGE=JavaScript1.2 causes that code to be skipped with NS 3.X. By defining dummy functions, you can satisfy the onLoad() for all versions and re-define it for 1.2 or higher.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 2•25 years ago
|
||
I was encountering this problem with Netscape Communicator 4.7... not on this site, but on my own bugzilla site. I eliminated the onLoad() part from the header on the query.cgi page and the javascript error did not ocurr, but the page never finished loading, either. I'm also having trouble getting show_bug.cgi to load. After more experimenting, I discovered that if I commented out this chunk of code in CGI.pl, that the pages completed loading: # if (Param("shutdownhtml")) { # if (!$ignoreshutdown) { # print Param("shutdownhtml"); # exit; # } # } This did not happen until the first time I ran tweakparams after upgrading to Bugzilla 2.9. I think the shutdownhtml code is getting set to something on accident during tweakparams even if you leave it empty...
Comment 3•25 years ago
|
||
I forgot to mention there that the cause of the "selectProgram not defined" error was because the page didn't finish loading, and the script itself hadn't been transmitted yet.
Comment 4•25 years ago
|
||
Maybe I have a solution for your problem (sorry for this double-entry). Have a look to my comments for Bug #5249 (jug@tellux.de 2000-02-13 19:41).
Comment 5•25 years ago
|
||
Originally this was posted as "Javascript error in NS 3.01 under win31". But I'm getting this consistently with winNT N4.61. I load the page completely the first time and I get this error, each subsequent load gives me the same error.
Summary: Javascript error in NS 3.01 under win31 → Javascript error in Netscape.
Comment 6•24 years ago
|
||
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details, see my posting in netscape.public.mozilla.webtools, news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Status: ASSIGNED → NEW
Comment 7•24 years ago
|
||
This bug has not been touched for more than nine months. In most cases, that means it has "slipped through the net". Please could the owner take a moment to add a comment to the bug with current status, and/or close it. Thank you :-) Gerv
Updated•24 years ago
|
QA Contact: matty
Whiteboard: 2.14
Updated•24 years ago
|
Whiteboard: 2.14 → 2.16
Updated•23 years ago
|
Summary: Javascript error in Netscape. → javascript error in Netscape (query.cgi)
Comment 10•23 years ago
|
||
Mass moving to new product Bugzilla...
Assignee: tara → endico
Component: Bugzilla → Query/Bug List
Product: Webtools → Bugzilla
Version: other → 2.13
Comment 11•23 years ago
|
||
Closing as WFM. Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 12•23 years ago
|
||
clearing milestone for invalid/wontfix/worksforme/duplicate so they'll show up as untriaged if they get reopened.
Target Milestone: Bugzilla 2.16 → ---
Comment 13•21 years ago
|
||
verified and not a windows 3.1 issue
Status: RESOLVED → VERIFIED
OS: Windows 3.1 → All
Hardware: PC → All
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•