[interchange-cvs] interchange - pajamian modified 2 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Thu Nov 8 22:08:32 EST 2007
User: pajamian
Date: 2007-11-09 03:08:32 GMT
Modified: . WHATSNEW-5.5
Modified: lib/Vend Form.pm
Log:
Allow for the proper display of product options that use text or textarea
widgets by showing the actual value if a label doesn't exist for the value.
Revision Changes Path
1.69 +3 -0 interchange/WHATSNEW-5.5
rev 1.69, prev_rev 1.68
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- WHATSNEW-5.5 9 Nov 2007 01:46:04 -0000 1.68
+++ WHATSNEW-5.5 9 Nov 2007 03:08:31 -0000 1.69
@@ -53,6 +53,9 @@
the "include_depth" Limit etc.) but I felt that that was an unnecessary
overhead.
+* Allow for the proper display of product options that use text or textarea
+ widgets by showing the actual value if a label doesn't exist for the value.
+
UI
--
2.72 +3 -3 interchange/lib/Vend/Form.pm
rev 2.72, prev_rev 2.71
Index: Form.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Form.pm,v
retrieving revision 2.71
retrieving revision 2.72
diff -u -r2.71 -r2.72
--- Form.pm 10 Aug 2007 12:05:34 -0000 2.71
+++ Form.pm 9 Nov 2007 03:08:31 -0000 2.72
@@ -1,6 +1,6 @@
# Vend::Form - Generate Form widgets
#
-# $Id: Form.pm,v 2.71 2007/08/10 12:05:34 racke Exp $
+# $Id: Form.pm,v 2.72 2007/11/09 03:08:31 pajamian Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -39,7 +39,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.71 $, 10);
+$VERSION = substr(q$Revision: 2.72 $, 10);
@EXPORT = qw (
display
@@ -299,7 +299,7 @@
$default = $label if $label =~ s/\*$//;
return ($label || $setting) if $val eq $setting;
}
- return $default;
+ return $val || $default;
}
sub links {
More information about the interchange-cvs
mailing list