mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Re-enable ufSetup (#155)
This commit is contained in:
parent
fc86512ec9
commit
cbf32c478c
@ -333,19 +333,21 @@ class BulkUploader implements GridField_HTMLProvider, GridField_URLHandler
|
|||||||
foreach ($this->ufConfig as $key => $val) {
|
foreach ($this->ufConfig as $key => $val) {
|
||||||
$uploadField->setConfig($key, $val);
|
$uploadField->setConfig($key, $val);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//UploadField setup
|
//UploadField setup
|
||||||
foreach ($this->ufSetup as $fn => $param) {
|
foreach ($this->ufSetup as $fn => $param) {
|
||||||
$uploadField->{$fn}($param);
|
$uploadField->{$fn}($param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
//UploadField Validator setup
|
//UploadField Validator setup
|
||||||
foreach ($this->ufValidatorSetup as $fn => $param) {
|
foreach ($this->ufValidatorSetup as $fn => $param) {
|
||||||
$uploadField->getValidator()->{$fn}($param);
|
$uploadField->getValidator()->{$fn}($param);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$uploadLink = $gridField->Link('bulkupload/upload');
|
$uploadLink = $gridField->Link('bulkupload/upload');
|
||||||
$schema['data']['createFileEndpoint'] = [
|
$schema['data']['createFileEndpoint'] = [
|
||||||
|
Loading…
Reference in New Issue
Block a user