{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
{if $form.contact_tags}
<td><label>{ts}Contributor Tag(s){/ts}</label>
{$form.contact_tags.html}
- {literal}
- <script type="text/javascript">
- cj("select#contact_tags").crmasmSelect({
- addItemTarget: 'bottom',
- animate: false,
- highlight: true,
- sortable: true,
- respectParents: true
- });
- </script>
- {/literal}
</td>
{else}
<td> </td>
{if $form.group}
<td><label>{ts}Contributor Group(s){/ts}</label>
{$form.group.html}
- {literal}
- <script type="text/javascript">
- cj("select#group").crmasmSelect({
- addItemTarget: 'bottom',
- animate: false,
- highlight: true,
- sortable: true,
- respectParents: true
- });
-
- </script>
- {/literal}
</td>
{else}
<td> </td>
return false;
});
- cj("#trans_assign").attr('disabled',true);
- cj("#trans_remove").attr('disabled',true);
+ cj("#trans_assign").prop('disabled',true);
+ cj("#trans_remove").prop('disabled',true);
cj('#crm-transaction-selector-assign #toggleSelect').click( function() {
enableActions('x');
});
function enableActions( type ) {
if (type == 'x') {
- cj("#trans_assign").attr('disabled',false);
+ cj("#trans_assign").prop('disabled',false);
}
else {
- cj("#trans_remove").attr('disabled',false);
+ cj("#trans_remove").prop('disabled',false);
}
}