koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] re: Add biblio bug


From: Paul POULAIN
Subject: Re: [Koha-devel] re: Add biblio bug
Date: Thu Feb 3 09:10:12 2005
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Harvey Lee a écrit :
Hi Greg,

There is a simple fix for this. The problem is in the template addbiblio.tmpl.

In the lines that call the javascript function AddField(), change from:
     href="javascript:AddField(<!-- TMPL_VAR name="tag" -->)"
to:
     href="javascript:AddField("<!-- TMPL_VAR name="tag" -->")"

I'm doing this from memory so I hope the placement of the quotes above is correct!

This code needs to be fixed in 10 places (once per tab).

What seems to be happening is that the tag value is being sent to the javascript function as an integer so leading zeros (as in the ISBN tag) are being stripped.
you're right. I thought i had solved this months ago.
I've fixed in CVS (the only mistake is that you need ' instead of " to avoid a javascript error)

--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]