Skip to content

Commit

Permalink
Merge pull request #24895 from eileenmcnaughton/key
Browse files Browse the repository at this point in the history
dev/core#3960 Remove legacy ar key
  • Loading branch information
totten authored Nov 7, 2022
2 parents 9d89bfe + 4afa789 commit 21558ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/Financial/Page/BatchTransaction.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function saveRecord(recordID, op, recordBAO, entityID) {
}
var postUrl = {/literal}"{crmURL p='civicrm/ajax/rest' h=0 q='className=CRM_Financial_Page_AJAX&fnName=assignRemove'}"{literal};
//post request and get response
CRM.$.post( postUrl, { records: [recordID], recordBAO: recordBAO, op:op, entityID:entityID, key: {/literal}"{crmKey name='civicrm/ajax/ar'}"{literal} }, function( html ){
CRM.$.post( postUrl, { records: [recordID], recordBAO: recordBAO, op:op, entityID:entityID }, function( html ){
//this is custom status set when record update success.
if (html.status == 'record-updated-success') {
if (op == 'close') {
Expand Down

0 comments on commit 21558ca

Please sign in to comment.