[Koha-bugs] [Bug 561] Javascript link doesn't work
bugzilla-daemon at wilbur.katipo.co.nz
bugzilla-daemon at wilbur.katipo.co.nz
Wed Aug 6 13:19:41 CEST 2003
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=561
oleonard at athenscounty.lib.oh.us changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version| |All
------- Additional Comments From oleonard at athenscounty.lib.oh.us 2003-08-06 23:19 -------
The javascript function name is 'openwindow', but is referred to in the body of
the document as 'openWindow'. Since it's case-sensitive, this doesn't work.
Other suggestions: Move the javascript inside the <head> of the document, and
instead of this syntax:
<a href="Javascript:openWindow('/cgi-bin/koha/moremember.pl?
bornum=100000','Member')">V000001</a>
Use this:
<a href="/cgi-bin/koha/moremember.pl?bornum=100000" onclick="openwindow('/cgi-
bin/koha/moremember.pl?bornum=100000','Member'); return false;">V000001</a>
This method will give javascript-enabled browsers the pop-up window, but will
act as a normal link for browsers with javascript turned off (or with no
javascript support).
------- 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