mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MINOR subsite admin saving fix (from r90471)
This commit is contained in:
parent
2f019ea6ab
commit
45efdc80c0
@ -73,7 +73,7 @@ class SubsiteAdmin_CollectionController extends ModelAdmin_CollectionController
|
|||||||
|
|
||||||
if(Director::is_ajax()) {
|
if(Director::is_ajax()) {
|
||||||
$recordController = new ModelAdmin_RecordController($this, $request, $subsite->ID);
|
$recordController = new ModelAdmin_RecordController($this, $request, $subsite->ID);
|
||||||
return new HTTPResponse(
|
return new SS_HTTPResponse(
|
||||||
$recordController->EditForm()->forAjaxTemplate(),
|
$recordController->EditForm()->forAjaxTemplate(),
|
||||||
200,
|
200,
|
||||||
sprintf(
|
sprintf(
|
||||||
|
Loading…
Reference in New Issue
Block a user