Pman.Tab.AdminTranslations.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 03:04:11 +0000 (11:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 03:04:11 +0000 (11:04 +0800)
Pman.Tab.AdminTranslations.js

index cad5cc1..13bf0be 100644 (file)
@@ -335,6 +335,16 @@ Pman.Tab.AdminTranslations = new Roo.util.Observable({
                             dataSource : {
                                 xtype: 'Store',
                                 xns: Roo.data,
+                                listeners : {
+                                    beforeload : function (_self, options)
+                                    {
+                                       options  =options ||  {};
+                                       options.params =options.params|| {};
+                                       options.params.ltype = this.langtypeCombo.getValue();
+                                       options.params.inlang = this.langCombo.getValue();
+                                       
+                                    }
+                                },
                                 remoteSort : true,
                                 sortInfo : { field : 'ltype', direction: 'ASC' },
                                 proxy : {