Bugzilla 2.19.1 search-advanced.html.tmpl JS Error

Kevin Benton kevin.benton at amd.com
Tue Dec 7 17:47:38 UTC 2004


I'm back.  :-)

 

Actually, on lines 85 and 90 of the BZ 2.19.1 distribution of
template/en/default/search/form.html.tmpl, a JS call to selectClassification
is made, however, no JS function named selectClassification is defined in
forms.html.tmpl.  This is a problem.  I renew my concerns about moving all
JS functions to a single .js file (at least on a per-directory basis).

 

  _____  

From: developers-owner at bugzilla.org [mailto:developers-owner at bugzilla.org]
On Behalf Of Kevin Benton
Sent: Tuesday, December 07, 2004 10:05 AM
To: developers at bugzilla.org
Subject: Re: Bugzilla 2.19.1 search-advanced.html.tmpl JS Error

 

Sorry all - my fault - should have looked at the custom directory first.
The function isn't defined in the custom form.html.tmpl.  :-(

 

  _____  

From: developers-owner at bugzilla.org [mailto:developers-owner at bugzilla.org]
On Behalf Of Kevin Benton
Sent: Tuesday, December 07, 2004 10:01 AM
To: developers at bugzilla.org
Subject: Bugzilla 2.19.1 search-advanced.html.tmpl JS Error

 

I'm running into JavaScript errors when attempting to load
search-advanced.html.tmpl in Internet Exploder 6.0.  It seems that IE
doesn't like the call to doOnSelectProduct because it hasn't been defined
yet.  Is anyone else running into this problem?  I'm wondering if it make
sense to create a .js file for all the JavaScript then putting .

 

<SCRIPT SRC="global/ecmascript.js" LANGUAGE="JAVASCRIPT"
TYPE="TEXT/JAVASCRIPT">

 

. in the header.  This way, all the JavaScript could properly be pre-loaded
before any calls to routines in the body tags such as doOnSelectProduct(0).

 

Kevin Benton

Perl/Bugzilla Developer

Advanced Micro Devices

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20041207/b991485e/attachment.html>


More information about the developers mailing list