Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-03-09-21-44-34
[civicrm-core.git] / CRM / Financial / Page / AJAX.php
index f5698efeb691f36d7fad0f9ee81c52eda2e7842a..f9e194520b2b14fc111e7762a28927ae329daa9a 100644 (file)
@@ -460,6 +460,7 @@ class CRM_Financial_Page_AJAX {
       'action',
     );
 
+    header('Content-Type: application/json');
     echo CRM_Utils_JSON::encodeDataTableSelector($financialitems, $sEcho, $iTotal, $iFilteredTotal, $selectorElements);
     CRM_Utils_System::civiExit();
   }