Skip to content
Snippets Groups Projects
Commit 9bbcf67c authored by totten's avatar totten
Browse files

(#5602) CiviAccount - Fix "Close Batch" on older Smarty

parent cfb2adaf
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