Skip to content
Snippets Groups Projects
Unverified Commit 00556d30 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #31738 from totten/5.81-closebatch-smarty2

(#5602) CiviAccount - Fix "Close Batch" on older Smarty
parents 93fbbe2f 9bbcf67c
Branches
Tags
No related merge requests found
......@@ -140,7 +140,7 @@ function saveRecord(recordID, op, recordBAO, entityID) {
window.location.href = CRM.url('civicrm/financial/batch/export', {reset: 1, id: recordID, status: 1});
return;
}
var postUrl = {/literal}"{crmURL p='civicrm/ajax/rest' h=0 q="className=CRM_Financial_Page_AJAX&fnName=assignRemove&qfKey={$financialAJAXQFKey}"}"{literal};
var postUrl = "{/literal}{crmURL p='civicrm/ajax/rest' h=0 q="className=CRM_Financial_Page_AJAX&fnName=assignRemove"}&qfKey={$financialAJAXQFKey}{literal}";
//post request and get response
CRM.$.post( postUrl, { records: [recordID], recordBAO: recordBAO, op:op, entityID:entityID }, function( html ){
//this is custom status set when record update success.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment