From 475bf3108e7050ce6dc910afb88e65c78ce42787 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Sep 2011 10:59:01 +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 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" } -- 2.39.2