[Koha-devel] re: Add biblio bug
Paul POULAIN
paul.poulain at free.fr
Thu Feb 3 09:10:12 CET 2005
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)
More information about the Koha-devel
mailing list