projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-14383 - Update cj closures
[civicrm-core.git]
/
templates
/
CRM
/
Financial
/
Form
/
BatchTransaction.tpl
diff --git
a/templates/CRM/Financial/Form/BatchTransaction.tpl
b/templates/CRM/Financial/Form/BatchTransaction.tpl
index 8be7dd060f129e5919ab0a728bae7536ab145e07..293e15f53158e72b24e8661f1c03b471bf1b55ee 100644
(file)
--- a/
templates/CRM/Financial/Form/BatchTransaction.tpl
+++ b/
templates/CRM/Financial/Form/BatchTransaction.tpl
@@
-1,8
+1,8
@@
{*
+--------------------------------------------------------------------+
{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-41,17
+41,6
@@
{if $form.contact_tags}
<td><label>{ts}Contributor Tag(s){/ts}</label>
{$form.contact_tags.html}
{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>
</td>
{else}
<td> </td>
@@
-59,18
+48,6
@@
{if $form.group}
<td><label>{ts}Contributor Group(s){/ts}</label>
{$form.group.html}
{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>
</td>
{else}
<td> </td>
@@
-112,7
+89,7
@@
{literal}
<script type="text/javascript">
{literal}
<script type="text/javascript">
-
cj( function(
) {
+
CRM.$(function($
) {
cj().crmAccordions();
cj('#_qf_BatchTransaction_submit-top, #_qf_BatchTransaction_submit-botttom').click(function() {
cj('.crm-batch_transaction_search-accordion:not(.collapsed)').crmAccordionToggle();
cj().crmAccordions();
cj('#_qf_BatchTransaction_submit-top, #_qf_BatchTransaction_submit-botttom').click(function() {
cj('.crm-batch_transaction_search-accordion:not(.collapsed)').crmAccordionToggle();
@@
-133,8
+110,8
@@
cj( function() {
return false;
});
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');
});
cj('#crm-transaction-selector-assign #toggleSelect').click( function() {
enableActions('x');
});
@@
-190,10
+167,10
@@
cj( function() {
function enableActions( type ) {
if (type == 'x') {
function enableActions( type ) {
if (type == 'x') {
- cj("#trans_assign").
attr
('disabled',false);
+ cj("#trans_assign").
prop
('disabled',false);
}
else {
}
else {
- cj("#trans_remove").
attr
('disabled',false);
+ cj("#trans_remove").
prop
('disabled',false);
}
}
}
}