You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/04/06 23:34:07 UTC
cvs commit: cocoon-2.1/src/blocks/forms/samples/resources forms-calendar-styling.xsl
joerg 2004/04/06 14:34:07
Modified: src/blocks/forms/samples/resources
forms-calendar-styling.xsl
Log:
use already existing variable $id instead of repeated calls to generate-id()
Revision Changes Path
1.4 +2 -2 cocoon-2.1/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Index: forms-calendar-styling.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/resources/forms-calendar-styling.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- forms-calendar-styling.xsl 11 Mar 2004 02:56:31 -0000 1.3
+++ forms-calendar-styling.xsl 6 Apr 2004 21:34:07 -0000 1.4
@@ -63,8 +63,8 @@
</input>
<!-- calendar popup -->
- <a href="#" name="{generate-id()}" id="{generate-id()}"
- onClick="forms_calendar.select(forms_getForm(this)['{@id}'],'{generate-id()}','{$format}'); return false;">
+ <a href="#" name="{$id}" id="{$id}"
+ onClick="forms_calendar.select(forms_getForm(this)['{@id}'],'{$id}','{$format}'); return false;">
<img src="{$resources-uri}/cal.gif" border="0" alt="Calendar"/>
</a>