mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Correct JS i18n in UploadField (fixes #2370)
This commit is contained in:
parent
74a010184e
commit
0f1ae75dd8
@ -933,8 +933,8 @@ class UploadField extends FileField {
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/jquery-ui.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery-entwine/dist/jquery.entwine-dist.js');
|
||||
Requirements::javascript(FRAMEWORK_DIR . '/javascript/i18n.js');
|
||||
Requirements::javascript(FRAMEWORK_ADMIN_DIR . '/javascript/ssui.core.js');
|
||||
Requirements::add_i18n_javascript(FRAMEWORK_DIR . '/javascript/lang');
|
||||
|
||||
Requirements::combine_files('uploadfield.js', array(
|
||||
// @todo jquery templates is a project no longer maintained and should be retired at some point.
|
||||
|
Loading…
x
Reference in New Issue
Block a user