[Rt-commit] rt branch, 4.0/fix-nested-checkbox-labels, created. rt-4.0.0rc8-1-g554f96a

Shawn Moore sartak at bestpractical.com
Tue Apr 19 14:50:44 EDT 2011


The branch, 4.0/fix-nested-checkbox-labels has been created
        at  554f96a3638b3136552ecd73a9d152b08fbfcb0e (commit)

- Log -----------------------------------------------------------------
commit 554f96a3638b3136552ecd73a9d152b08fbfcb0e
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Apr 19 14:49:58 2011 -0400

    Fix a checkbox list CF nested label bug

diff --git a/share/html/Elements/EditCustomFieldSelect b/share/html/Elements/EditCustomFieldSelect
index c69e1cb..0390ded 100644
--- a/share/html/Elements/EditCustomFieldSelect
+++ b/share/html/Elements/EditCustomFieldSelect
@@ -96,14 +96,14 @@ jQuery(  function () {
 <fieldset class="cfedit">
 %   if ( $checktype eq 'radio' ) {
   <input type="<% $checktype %>" name="<% $name %>" id="<% $name %>-none" value="" <% keys %default ? '' : ' checked="checked"' |n%> />
-  <label for="<% $name %>-none"><&|/l&>(no value)</&><label><br />
+  <label for="<% $name %>-none"><&|/l&>(no value)</&></label><br />
 %   }
 %   my $CFVs = $CustomField->Values;
 %   while ( my $value = $CFVs->Next ) {
 %     my $content = $value->Name;
 %     my $labelid = "$name-". $value->id;
   <input type="<% $checktype %>" name="<% $name %>" id="<% $labelid %>" value="<% $content %>" <% $default{ lc $content }? ' checked="checked"' : '' |n%> />
-  <label for="<% $labelid %>"><% $content %><label><br />
+  <label for="<% $labelid %>"><% $content %></label><br />
 %   }
 </fieldset>
 % } else {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list