Pman.Tab.AdminTranslations.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 02:59:52 +0000 (10:59 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 02:59:52 +0000 (10:59 +0800)
Pman.Tab.AdminTranslations.js

index 1b4347d..f5debe4 100644 (file)
@@ -414,44 +414,6 @@ Pman.Tab.AdminTranslations = new Roo.util.Observable({
                                             data : [                                                [ 'zh_HK' , '\u7E41\u4E2D - Trad. Chin. (HK)' ],                         [ 'zh_CN', '\u7C21\u4E2D - Simp. Chin.' ]                     ]
                                         }
                                     },
-                                    {
-                                        xtype: 'Button',
-                                        xns: Roo.Toolbar,
-                                        text : "Add",
-                                        cls : 'x-btn-text-icon',
-                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
-                                        listeners : {
-                                            click : function()
-                                            {
-                                                if (!_this.dialog) return;
-                                                _this.dialog.show( { id : 0 } , function() {
-                                                    _this.grid.footer.onClick('first');
-                                               }); 
-                                            }
-                                        }
-                                    },
-                                    {
-                                        xtype: 'Button',
-                                        xns: Roo.Toolbar,
-                                        text : "Edit",
-                                        cls : 'x-btn-text-icon',
-                                        icon : Roo.rootURL + 'images/default/tree/leaf.gif',
-                                        listeners : {
-                                            click : function()
-                                            {
-                                                var s = _this.grid.getSelectionModel().getSelections();
-                                                if (!s.length || (s.length > 1))  {
-                                                    Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
-                                                    return;
-                                                }
-                                                if (!_this.dialog) return;
-                                                _this.dialog.show(s[0].data, function() {
-                                                    _this.grid.footer.onClick('first');
-                                                }); 
-                                                
-                                            }
-                                        }
-                                    },
                                     {
                                         xtype: 'Button',
                                         xns: Roo.Toolbar,