Permalink
Browse files

Merge pull request #16 from intellix/patch-3

Fix for inherited locales (a button class with linked instance
  • Loading branch information...
2 parents 824d0d1 + e64b87f commit e09fdf2e452980999f8cddb28cd2bca20c69b424 @mitchellsimoens mitchellsimoens committed Jun 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Ux/locale/Manager.js
@@ -185,6 +185,10 @@ Ext.define('Ux.locale.Manager', {
config = {};
}
+ if (Ext.isObject(me.config.locales)) {
+ config.locales = me.config.locales;
+ }
+
var locales = config.locales || me.locales || ( me.getLocales && me.getLocales() ),
enableLocale = config.enableLocale || me.enableLocale || ( me.getEnableLocale && me.getEnableLocale() );

0 comments on commit e09fdf2

Please sign in to comment.