[Rt-commit] rt branch, 3.8-edit-custom-fields-enhancements, updated. rt-3.8.8-202-gc7884e6

Thomas Sibley trs at bestpractical.com
Thu Dec 2 11:04:26 EST 2010


The branch, 3.8-edit-custom-fields-enhancements has been updated
       via  c7884e6b772355e5dd2b84259b22d02d9e571ab7 (commit)
      from  07407fb17635470e7085960b81d8f55e9c3e9cb7 (commit)

Summary of changes:
 share/html/Ticket/Elements/EditCustomFields |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit c7884e6b772355e5dd2b84259b22d02d9e571ab7
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Dec 2 11:01:51 2010 -0500

    Prefix the CF name and type classes to avoid conflicts

diff --git a/share/html/Ticket/Elements/EditCustomFields b/share/html/Ticket/Elements/EditCustomFields
index dc8b231..8b4a0c0 100755
--- a/share/html/Ticket/Elements/EditCustomFields
+++ b/share/html/Ticket/Elements/EditCustomFields
@@ -57,11 +57,11 @@
 % if ( $single_column || $i % 2 ) {
 <tr class="edit-custom-field">
 % }
-    <td class="cflabel <% $type %> <% $escaped_name %>" id="cflabel-<% $CustomField->Id %>" >
+    <td class="cflabel cftype-<% $type %> cfname-<% $escaped_name %>" id="cflabel-<% $CustomField->Id %>" >
       <b><% loc($CustomField->Name) %></b><br />
       <i><% $CustomField->FriendlyType %></i>
     </td>
-    <td class="entry <% $type %> <% $escaped_name %>" id="cfentry-<% $CustomField->Id %>">
+    <td class="entry cftype-<% $type %> cfname-<% $escaped_name %>" id="cfentry-<% $CustomField->Id %>">
 % my $default = $m->notes('Field-' . $CustomField->Id);
 % $default ||= $ARGS{"CustomField-". $CustomField->Id };
       <& /Elements/EditCustomField, 
@@ -73,7 +73,7 @@
       &>
 %  if (my $msg = $m->notes('InvalidField-' . $CustomField->Id)) {
         <br />
-        <span class="cfinvalidfield <% $type %> <% $escaped_name %>"><% $msg %></span>
+        <span class="cfinvalidfield cftype-<% $type %> cfname-<% $escaped_name %>"><% $msg %></span>
 %  }
     </td>
 

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


More information about the Rt-commit mailing list