MINOR Fixed SS_HTTPResponse references in CMSBatchActionHandler

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98285 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-02-05 01:27:29 +00:00 committed by Sam Minnee
parent 8a3ac76d0b
commit dc15573458

View File

@ -117,9 +117,9 @@ class CMSBatchActionHandler extends RequestHandler {
$ids = array_filter($ids);
if($actionHandler->hasMethod('confirmationDialog')) {
$response = new HTTPResponse(json_encode($actionHandler->confirmationDialog($ids)));
$response = new SS_HTTPResponse(json_encode($actionHandler->confirmationDialog($ids)));
} else {
$response = new HTTPResponse(json_encode(array('alert' => false)));
$response = new SS_HTTPResponse(json_encode(array('alert' => false)));
}
$response->addHeader("Content-type", "application/json");