[Koha-bugs] [Bug 585] New: Using 'document.forms[0]' notation prevents use of other forms on page

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Tue Aug 26 21:10:21 CEST 2003


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=585

           Summary: Using 'document.forms[0]' notation prevents use of other
                    forms on page
           Product: Koha
           Version: CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Acquisitions (Simple)
        AssignedTo: tonnesen at cmsd.bc.ca
        ReportedBy: oleonard at athenscounty.lib.oh.us
         QAContact: koha-bugs at lists.sourceforge.net


The use in javascript of references like 'document.forms[0]...' prevents users
from adding other forms on the page.  We have a persistent navigation menu in
our template which uses several forms for quick searches.  Because they precede
the 'main' form on the page, the 'document.forms[0]...' notation breaks, since
it now points to the wrong form.  I'm guessing the solution would be to identify
forms by name and id.

These references are used in the templates acqui.simple\addbiblio.tmpl,
acqui.simple\additem.tmpl, circ\returns.tmpl, and  search.marc\search.tmpl



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Koha-bugs mailing list