mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX: Change form output method
Fixes SecurityID issue with form not being displayed
This commit is contained in:
parent
e610d42e44
commit
f010fda4a6
@ -133,10 +133,12 @@ class GridFieldBulkImageUpload_Request extends RequestHandler {
|
|||||||
$form->Backlink = $one_level_up->Link;
|
$form->Backlink = $one_level_up->Link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $form->forTemplate();
|
||||||
|
/*
|
||||||
$response = new SS_HTTPResponse(Convert::raw2json(array('Content' => $form->forTemplate())));
|
$response = new SS_HTTPResponse(Convert::raw2json(array('Content' => $form->forTemplate())));
|
||||||
$response->addHeader('Content-Type', 'text/json');
|
$response->addHeader('Content-Type', 'text/json');
|
||||||
$response->addHeader('X-Title', 'SilverStripe - Bulk '.$this->gridField->list->dataClass.' Image Upload');
|
$response->addHeader('X-Title', 'SilverStripe - Bulk '.$this->gridField->list->dataClass.' Image Upload');
|
||||||
return $response;
|
return $response; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user