[Rt-commit] r3159 - in rt/branches/QUEBEC-EXPERIMENTAL: .
html/Elements
alexmv at bestpractical.com
alexmv at bestpractical.com
Wed Jun 15 00:47:27 EDT 2005
Author: alexmv
Date: Wed Jun 15 00:47:27 2005
New Revision: 3159
Modified:
rt/branches/QUEBEC-EXPERIMENTAL/ (props changed)
rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform
Log:
r4236 at zoq-fot-pik: chmrr | 2005-06-15 00:46:57 -0400
* <input> tags don't like newlines in them
Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform (original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform Wed Jun 15 00:47:27 2005
@@ -50,10 +50,12 @@
% }
<%INIT>
if ($Multiple and $Values) {
- $Default = '';
- while (my $value = $Values->Next ) {
- $Default .= $value->Content."\n";
- }
+ $Default = '';
+ while (my $value = $Values->Next ) {
+ $Default .= $value->Content."\n";
+ }
+} else {
+ $Default =~ s/\s*\n\s*/ /g if $Default;
}
</%INIT>
<%ARGS>
More information about the Rt-commit
mailing list