MINOR subsite admin saving fix (from r90471)

This commit is contained in:
Tom Rix 2010-03-01 21:40:21 +00:00
parent 2f019ea6ab
commit 45efdc80c0

View File

@ -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(