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