diff options
| author | Mark Wells <mark@freeside.biz> | 2012-09-29 16:36:46 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-09-29 16:36:46 -0700 |
| commit | 33beebf4cb42eba3e1dd868ad5e0af102de961da (patch) | |
| tree | 860712543dcc74ff2402a4ed8d73e8cd553e62d4 /rt/share/html/Admin/Elements/EditCustomFieldValues | |
| parent | 7ac86daf67b0a95153b736d5811f9050363f6553 (diff) | |
update address standardization for cust_location changes
Diffstat (limited to 'rt/share/html/Admin/Elements/EditCustomFieldValues')
| -rwxr-xr-x | rt/share/html/Admin/Elements/EditCustomFieldValues | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/rt/share/html/Admin/Elements/EditCustomFieldValues b/rt/share/html/Admin/Elements/EditCustomFieldValues index c2a027b81..4d0dc51b8 100755 --- a/rt/share/html/Admin/Elements/EditCustomFieldValues +++ b/rt/share/html/Admin/Elements/EditCustomFieldValues @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -58,7 +58,7 @@ <th><&|/l&>Name</&></th> <th><&|/l&>Description</&></th> % if ($CustomField->Type ne 'Combobox') { -<th><&|/l&>Category</&></th> +<th class="categoryheader"><&|/l&>Category</&></th> % } </tr> @@ -68,22 +68,23 @@ <td><input type="checkbox" class="checkbox" name="Delete-<% $paramtag %>" /></td> <td><input type="text" size="3" name="<% $paramtag %>-SortOrder" value="<% $value->SortOrder %>" /></td> <td><input type="text" size="25" name="<% $paramtag %>-Name" value="<% $value->Name %>" /></td> -<td><input type="text" size="45" name="<% $paramtag %>-Description" value="<% $value->Description %>" /></td> +<td><input type="text" size="45" name="<% $paramtag %>-Description" value="<% $value->Description || '' %>" /></td> % if ( $CustomField->Type ne 'Combobox' ) { <td> % if ( $Categories ) { % my $selected = $value->Category; % $selected = '' unless defined $selected; -<select name="<% $paramtag %>-Category" size="1"> +<select class="editcategory" name="<% $paramtag %>-Category" size="1"> <option value=""<% $selected eq '' ? q[ selected="selected"] : "" |n%>><&|/l&>(no value)</&></option> % while (my $Value = $Categories->Next) { <option value="<% $Value->Name %>"<% $selected eq $Value->Name ? q[ selected="selected"] : "" |n%>><% $Value->Name %></option> % } % } else { -<input type="text" size="10" name="<% $paramtag %>-Category" value="<% $value->Category || '' %>" /> +<input type="text" size="10" class="editcategory" name="<% $paramtag %>-Category" value="<% $value->Category || '' %>" /> % } </td> % } +% $m->callback(CallbackName => 'AfterCustomFieldValueInput', CustomFieldObj => $CustomField, CustomFieldValueObj => $value, ARGSRef => \%ARGS ); </tr> % } |
