Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for inherited locales (a button class with linked instance #16

Merged
merged 1 commit into from

2 participants

@intellix

in multiple other places)

This has fixed it for me and the rest still works. If you know of a better way (very likely then please ignore my pull).

@mitchellsimoens mitchellsimoens merged commit e09fdf2 into from
@mitchellsimoens

Should be good for now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 19, 2012
  1. @intellix
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 Ux/locale/Manager.js
View
4 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() );
Something went wrong with that request. Please try again.