[Rt-commit] r10503 - rt/branches/3.7-EXPERIMENTAL/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Sat Jan 26 19:51:28 EST 2008


Author: ruz
Date: Sat Jan 26 19:51:28 2008
New Revision: 10503

Modified:
   rt/branches/3.7-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform

Log:
* turn off wrap for "enter multiple freeform values" CFs,
  people get fooled by wrap when values are quite long and
  think that those are different when its actually one value
  wrapped by the browser

Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/EditCustomFieldFreeform	Sat Jan 26 19:51:28 2008
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 % my $name = $NamePrefix . $CustomField->Id . '-Value';
 % if ($Multiple) {
-<textarea cols="<%$Cols%>" rows="<%$Rows%>" name="<%$name%>s" id="<%$name%>s" ><% $Default || '' %></textarea>
+<textarea cols="<%$Cols%>" rows="<%$Rows%>" name="<%$name%>s" id="<%$name%>s" wrap="off"><% $Default || '' %></textarea>
 % } else {
 <input name="<%$name%>" id="<%$name%>" size="<%$Cols%>" value="<%$Default ? $Default : ''%>" />
 % }


More information about the Rt-commit mailing list