[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.19-14-g38a2ad3
Alex Vandiver
alexmv at bestpractical.com
Fri Feb 7 15:03:59 EST 2014
The branch, 4.0-trunk has been updated
via 38a2ad31df62c3fe1944477194352f3bc8d2195f (commit)
from ae2434b9a3137fe039619c14d7bffa16fd30d828 (commit)
Summary of changes:
share/html/Elements/EditCustomFieldFreeform | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 38a2ad31df62c3fe1944477194352f3bc8d2195f
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Thu Jan 2 15:32:46 2014 -0600
add type="text" to Freeform CF
Browsers FF and Chrome render <input> differently if 'type="text"' is
present or not. Also, this makes the HTML more explicit about the
rendering type.
diff --git a/share/html/Elements/EditCustomFieldFreeform b/share/html/Elements/EditCustomFieldFreeform
index 581eb66..f0f8ee6 100644
--- a/share/html/Elements/EditCustomFieldFreeform
+++ b/share/html/Elements/EditCustomFieldFreeform
@@ -56,7 +56,7 @@ rows="<% $Rows %>" \
% }
name="<%$name%>s" id="<%$name%>s" wrap="off" class="CF-<%$CustomField->id%>-Edit"><% defined($Default) ? $Default : '' %></textarea>
% } else {
-<input name="<%$name%>" id="<%$name%>" \
+<input type="text" name="<%$name%>" id="<%$name%>" \
% if ( defined $Cols ) {
size="<% $Cols %>" \
% }
-----------------------------------------------------------------------
More information about the rt-commit
mailing list