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:
Ingo Schommer 2011-01-12 19:32:19 +00:00 committed by Sam Minnee
parent 47cae8f81f
commit 3439add62f

View File

@ -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
));