Pman.Dialog.XtupleVendorEdit.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 05:12:46 +0000 (13:12 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 05:12:46 +0000 (13:12 +0800)
Pman.Dialog.XtupleVendorEdit.js

Pman.Dialog.XtupleVendorEdit.bjs
Pman.Dialog.XtupleVendorEdit.js

index 06b39e1..e0ab845 100644 (file)
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
                                         },
-                                        {
-                                            "listeners": {
-                                                "|click": "function (_self, e)\n{\n    _this.searchBox.setValue('');\n    _this.publication_name_combo.setValue('');\n    _this.publication_lang_combo.setValue('');\n    _this.country_combo.setValue('');\n    _this.category_media_id_combo.setValue('');\n    _this.role_combo.setValue('');      \n\n    \n    _this.grid.footer.onClick('first');\n}"
-                                            },
-                                            "cls": "x-btn-icon",
-                                            "xtype": "Button",
-                                            "|icon": "rootURL + '/Pman/templates/images/edit-clear.gif'",
-                                            "|xns": "Roo.Toolbar"
-                                        },
                                         {
                                             "listeners": {
                                                 "|click": "function (_self, e)\n{\n_this.grid.footer.onClick('first');\n}"
index b01b9cc..3e50238 100644 (file)
@@ -653,26 +653,6 @@ Pman.Dialog.XtupleVendorEdit = {
                                         }
                                     }
                                 },
-                                {
-                                    xtype: 'Button',
-                                    xns: Roo.Toolbar,
-                                    listeners : {
-                                        click : function (_self, e)
-                                        {
-                                            _this.searchBox.setValue('');
-                                            _this.publication_name_combo.setValue('');
-                                            _this.publication_lang_combo.setValue('');
-                                            _this.country_combo.setValue('');
-                                            _this.category_media_id_combo.setValue('');
-                                            _this.role_combo.setValue('');      
-                                        
-                                            
-                                            _this.grid.footer.onClick('first');
-                                        }
-                                    },
-                                    cls : 'x-btn-icon',
-                                    icon : rootURL + '/Pman/templates/images/edit-clear.gif'
-                                },
                                 {
                                     xtype: 'Button',
                                     xns: Roo.Toolbar,