Pman.Tab.XtupleReports.js
"|icon": "rootURL + '/Pman/templates/images/search.gif'",
"|xns": "Roo.Toolbar"
},
+ {
+ "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"
+ },
{
"text": "Add",
"xtype": "Button",
cls : 'x-btn-icon',
icon : rootURL + '/Pman/templates/images/search.gif'
},
+ {
+ 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,