mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Merge branch '4' into 5
This commit is contained in:
commit
c889ec1534
@ -80,7 +80,7 @@ class BulkUploadHandler extends RequestHandler
|
|||||||
$record = $recordClass::create();
|
$record = $recordClass::create();
|
||||||
$record->write();
|
$record->write();
|
||||||
|
|
||||||
$record->extend('onBulkUpload', $this->gridField);
|
$record->extend('onBulkUpload', $this->gridField, $fileID, $record);
|
||||||
|
|
||||||
$fileRelationName = $this->component->getFileRelationName($this->gridField);
|
$fileRelationName = $this->component->getFileRelationName($this->gridField);
|
||||||
$record->{"{$fileRelationName}ID"} = $fileID;
|
$record->{"{$fileRelationName}ID"} = $fileID;
|
||||||
|
Loading…
Reference in New Issue
Block a user