Merge pull request #4698 from colemanw/CRM-15711
[civicrm-core.git] / CRM / Contact / Form / Inline.php
index 77c6e02d50d24fcca38f82a8699e45ea7179b991..ee3d17dfe9c2e6791cf55242597b6fa5fa548bcf 100644 (file)
@@ -107,8 +107,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
    */
   public function cancelAction() {
     $response = array('status' => 'cancel');
-    echo json_encode($response);
-    CRM_Utils_System::civiExit();
+    CRM_Utils_JSON::output($response);
   }
 
   /**