Pman.Tab.AdminTranslations.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 02:58:23 +0000 (10:58 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 02:58:23 +0000 (10:58 +0800)
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"
                                                         }