[interchange-cvs] interchange - jon modified dist/usertag/button.tag

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Thu Jan 23 23:49:00 2003


User:      jon
Date:      2003-01-24 04:48:05 GMT
Modified:  dist/usertag Tag: STABLE_4_8-branch button.tag
Log:
Merge from trunk:

* Allow this to work with an unnamed form.

Revision  Changes    Path
No                   revision



No                   revision



2.1.2.2   +1 -1      interchange/dist/usertag/Attic/button.tag


rev 2.1.2.2, prev_rev 2.1.2.1
Index: button.tag
===================================================================
RCS file: /var/cvs/interchange/dist/usertag/Attic/button.tag,v
retrieving revision 2.1.2.1
retrieving revision 2.1.2.2
diff -u -u -r2.1.2.1 -r2.1.2.2
--- button.tag	28 Oct 2002 16:24:08 -0000	2.1.2.1
+++ button.tag	24 Jan 2003 04:48:05 -0000	2.1.2.2
@@ -159,7 +159,7 @@
 	$out .= qq{<INPUT TYPE=hidden NAME="$clickname" VALUE="">} if $image; 
 
 	my $formname;
-	$opt->{form} = 'document.forms[0]'
+	$opt->{form} = 'forms[0]'
 		if ! $opt->{form};
 
 	$confirm .= ' && ' if $confirm;