From: Alan Knowles Date: Thu, 15 Sep 2011 02:59:01 +0000 (+0800) Subject: Pman.Tab.AdminTranslations.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=475bf3108e7050ce6dc910afb88e65c78ce42787 Pman.Tab.AdminTranslations.bjs --- diff --git a/Pman.Tab.AdminTranslations.bjs b/Pman.Tab.AdminTranslations.bjs index d400d90..1b1f2c3 100644 --- a/Pman.Tab.AdminTranslations.bjs +++ b/Pman.Tab.AdminTranslations.bjs @@ -103,7 +103,7 @@ { "*prop": "store", "xtype": "SimpleStore", - "|data": "(function() { \n var modlist = []; \n AppModules = AppModules || []; \n Roo.each( AppModules.split(','), function(mod) { \n modlist.push( [ mod ] ); \n }); \n return modlist;\n })()", + "|data": "(function() { \n var modlist = []; \n AppModules = typeof(AppModules) == 'undefined' ? [] : AppModules;\n Roo.each( AppModules.split(','), function(mod) { \n modlist.push( [ mod ] ); \n }); \n return modlist;\n })()", "|fields": "['module']", "|xns": "Roo.data" }