[interchange-cvs] interchange - ton modified code/Widget/imagedir.widget

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Wed Jun 11 08:38:01 2003


User:      ton
Date:      2003-06-11 12:37:38 GMT
Modified:  code/Widget imagedir.widget
Log:
	Widget imagedir:

	Added a =None to the file list so one has
	the opportunity to choose an 'empty' value
	if no input is required.

Revision  Changes    Path
1.2       +1 -1      interchange/code/Widget/imagedir.widget


rev 1.2, prev_rev 1.1
Index: imagedir.widget
===================================================================
RCS file: /var/cvs/interchange/code/Widget/imagedir.widget,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- imagedir.widget	3 Feb 2002 22:01:57 -0000	1.1
+++ imagedir.widget	11 Jun 2003 12:37:38 -0000	1.2
@@ -29,7 +29,7 @@
 					push(@names, $n);
 				};
 	find($wanted, $dir);
-	$opt->{passed} = [ sort @names ];
+	$opt->{passed} = [ '=None', sort @names ];
 	$opt->{type} = delete $opt->{variant} || 'combo';
 	return Vend::Form::display($opt);
 }