Skip to content

Commit

Permalink
Fix for inherited locales (for instance a button class with linked in…
Browse files Browse the repository at this point in the history
…stance in many places)
  • Loading branch information
intellix committed Jun 19, 2012
1 parent 824d0d1 commit e64b87f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Ux/locale/Manager.js
Expand Up @@ -185,6 +185,10 @@ Ext.define('Ux.locale.Manager', {
config = {}; config = {};
} }


if (Ext.isObject(me.config.locales)) {
config.locales = me.config.locales;
}

var locales = config.locales || me.locales || ( me.getLocales && me.getLocales() ), var locales = config.locales || me.locales || ( me.getLocales && me.getLocales() ),
enableLocale = config.enableLocale || me.enableLocale || ( me.getEnableLocale && me.getEnableLocale() ); enableLocale = config.enableLocale || me.enableLocale || ( me.getEnableLocale && me.getEnableLocale() );


Expand Down

0 comments on commit e64b87f

Please sign in to comment.