code/Controller/AssetAdmin.php
protected function getRecordUpdatedResponse($record, $form)
    {
        // Return the record data in the same response as the schema to save a postback
        $schemaData = ['record' => $this->getObjectFromData($record)];
        $schemaId = Controller::join_links($this->Link('schema/fileEditForm'), $record->ID);
        return $this->getSchemaResponse($schemaId, $form, null, $schemaData);
    }
protected function getRecordUpdatedResponse($record, $form)
    {
        // Return the record data in the same response as the schema to save a postback
        $schemaData = ['record' => $this->getObjectFromData($record)];
        $schemaId = Controller::join_links($this->Link('schema/fileEditForm'), $record->ID);
        return $this->getSchemaResponse($schemaId, $form, null, $schemaData);
    }
protected function getRecordUpdatedResponse ( $ record , $ form ) { // Return the record data in the same response as the schema to save a postback $ schemaData = [ 'record' => $ this -> getObjectFromData ( $ record ) ] ; $ schemaId = Controller :: join_links ( $ this -> Link ( 'schema/fileEditForm' ) , $ record -> ID ) ; return $ this -> getSchemaResponse ( $ schemaId , $ form , null , $ schemaData ) ; }
Get response for successfully updated record

@param File $record
@param Form $form
@return HTTPResponse
Get response for successfully updated record