mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Merge pull request #58 from silverstripe-scienceninjas/pull/geteditform-strict-standard
MINOR getEditForm should have the same signature as parent class
This commit is contained in:
commit
8f25c8ee93
@ -20,7 +20,7 @@ class CMSFileAddController extends AssetAdmin {
|
|||||||
* @return Form
|
* @return Form
|
||||||
* @todo what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore
|
* @todo what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore
|
||||||
*/
|
*/
|
||||||
public function getEditForm() {
|
public function getEditForm($id = null, $fields = null) {
|
||||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/AssetUploadField.js');
|
Requirements::javascript(SAPPHIRE_DIR . '/javascript/AssetUploadField.js');
|
||||||
Requirements::css(SAPPHIRE_DIR . '/css/AssetUploadField.css');
|
Requirements::css(SAPPHIRE_DIR . '/css/AssetUploadField.css');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user