mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
e1b7df38ef
Also fixed UploadField operation with canUpload=false, which broke the JS because no config could be found, since the <input> field wasn't present. We can't put the data-config attribute on the field holder, since fields can be rendered without their field holder through FormField->SmalLFieldHolder(). Fixes https://github.com/silverstripe/silverstripe-cms/issues/874