Pman.Tab.AdminTranslations.bjs
[Pman.Admin] / Pman.Tab.AdminTranslations.bjs
index 310ecf1..d400d90 100644 (file)
                                                         {
                                                             "*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"
                                                         }