|
@@ -13105,7 +13105,7 @@ define('select2/defaults',[
|
|
language = Translation.loadPath(name);
|
|
language = Translation.loadPath(name);
|
|
} catch (e) {
|
|
} catch (e) {
|
|
// If we couldn't load it, check if it wasn't the full path
|
|
// If we couldn't load it, check if it wasn't the full path
|
|
- name = 'select2/i18n/' + name;
|
|
|
|
|
|
+ name = this.get('amdTranslationBase') + name;
|
|
language = Translation.loadPath(name);
|
|
language = Translation.loadPath(name);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -13176,6 +13176,8 @@ define('select2/defaults',[
|
|
}
|
|
}
|
|
|
|
|
|
this.defaults = {
|
|
this.defaults = {
|
|
|
|
+ amdBase: 'select2/',
|
|
|
|
+ amdLanguageBase: 'select2/i18n/',
|
|
language: EnglishTranslation,
|
|
language: EnglishTranslation,
|
|
matcher: matcher,
|
|
matcher: matcher,
|
|
minimumInputLength: 0,
|
|
minimumInputLength: 0,
|
|
@@ -14073,7 +14075,7 @@ define('select2/dropdown/attachContainer',[
|
|
|
|
|
|
define('jquery.select2',[
|
|
define('jquery.select2',[
|
|
'jquery',
|
|
'jquery',
|
|
- 'select2/core'
|
|
|
|
|
|
+ './select2/core'
|
|
], function ($, Select2) {
|
|
], function ($, Select2) {
|
|
// Force jQuery.mousewheel to be loaded if it hasn't already
|
|
// Force jQuery.mousewheel to be loaded if it hasn't already
|
|
try {
|
|
try {
|