mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
FIX Re-add i18n Javascript in documents modeladmin
This commit is contained in:
parent
b0de8b33e5
commit
c10109b49b
@ -17,6 +17,7 @@ class DMSDocumentAdmin extends ModelAdmin
|
||||
{
|
||||
parent::init();
|
||||
Requirements::javascript(DMS_DIR . '/javascript/DMSGridField.js');
|
||||
Requirements::add_i18n_javascript(DMS_DIR . '/javascript/lang');
|
||||
}
|
||||
/**
|
||||
* Remove the default "add" button and replace it with a customised version for DMS
|
||||
|
Loading…
Reference in New Issue
Block a user