You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"DatePicker" class in "yii2-jui" call "DatePickerLanguageAsset" class for registering JavaScript "ui/i18n/datepicker-$language.js" file with language translation for "jQuery UI".
It has checkif ($language !== 'en-US') but, if our locale set to 'language' => 'en', it truing include datepicker-en.js file, which not exist in directory "/ui/i18n/".
So we have error in app.log and "Failed to load resource" 404 (Not Found) in browser console.
I think, we need add check for 'en' locale too: if ($language !== 'en-US' && $language !== 'en')
The text was updated successfully, but these errors were encountered:
"DatePicker" class in "yii2-jui" call "DatePickerLanguageAsset" class for registering JavaScript
"ui/i18n/datepicker-$language.js"
file with language translation for "jQuery UI".It has check
if ($language !== 'en-US')
but, if our locale set to'language' => 'en'
, it truing includedatepicker-en.js
file, which not exist in directory "/ui/i18n/".So we have error in
app.log
and"Failed to load resource" 404 (Not Found)
in browser console.I think, we need add check for 'en' locale too:
if ($language !== 'en-US' && $language !== 'en')
The text was updated successfully, but these errors were encountered: