We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6fcd2f5 + 5808a8c commit eaebb76Copy full SHA for eaebb76
Select2Widget.php
@@ -145,7 +145,7 @@ public function registerAssets()
145
}
146
foreach ($langs as $lang) {
147
$langFile = "/js/i18n/{$lang}.js";
148
- if (file_exists($bandle->sourcePath.$filename)) {
+ if (file_exists($bandle->sourcePath.$langFile)) {
149
$view->registerJsFile($bandle->baseUrl.$langFile, ['depends' => Select2Asset::className()]);
150
break;
151
0 commit comments