mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
8a3ac76d0b
commit
dc15573458
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user