mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Merge pull request #171 from creative-commoners/pulls/2.0/add-i18n-js-back
FIX Re-add i18n Javascript in documents modeladmin
This commit is contained in:
commit
e85e13123e
@ -17,6 +17,7 @@ class DMSDocumentAdmin extends ModelAdmin
|
|||||||
{
|
{
|
||||||
parent::init();
|
parent::init();
|
||||||
Requirements::javascript(DMS_DIR . '/javascript/DMSGridField.js');
|
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
|
* Remove the default "add" button and replace it with a customised version for DMS
|
||||||
|
Loading…
Reference in New Issue
Block a user