Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-02-25-17-38-49
[civicrm-core.git] / templates / CRM / Financial / Form / BatchTransaction.tpl
index 8be7dd060f129e5919ab0a728bae7536ab145e07..7418795569f8eadabcd8137a89f5ad0d2207e364 100644 (file)
@@ -1,6 +1,6 @@
 {*
  +--------------------------------------------------------------------+
- | 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>&nbsp;</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>&nbsp;</td>
@@ -133,8 +110,8 @@ cj( function() {
       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');
     });
@@ -190,10 +167,10 @@ cj( function() {
 
 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);
   }
 }