From 0eb6671958f00389c98bb5c79240a26a9cef0fe7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Sep 2011 10:58:23 +0800 Subject: [PATCH] Pman.Tab.AdminTranslations.bjs --- Pman.Tab.AdminTranslations.bjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- 2.39.2