mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX DateField wrong datepicker-%s.js path (fixes #6296, thanks martijn)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115460 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
47cae8f81f
commit
3439add62f
@ -557,7 +557,7 @@ class DateField_View_JQuery {
|
||||
// TODO Check for existence of locale to avoid unnecessary 404s from the CDN
|
||||
Requirements::javascript(
|
||||
sprintf(
|
||||
THIRDPARTY_DIR . '/jquery-ui/minified/i18n/jquery.ui.datepicker-%s.min.js',
|
||||
THIRDPARTY_DIR . '/jquery-ui/i18n/jquery.ui.datepicker-%s.js',
|
||||
// can be a mix between names (e.g. 'de') and combined locales (e.g. 'zh-TW')
|
||||
$lang
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user