[ADD] perform search after clicking on a button

bzr revid: xmo@openerp.com-20110324162030-1dvnn422hsusmiol
This commit is contained in:
Xavier Morel 2011-03-24 17:20:30 +01:00
parent 491e6017af
commit c96b91e690
1 changed files with 2 additions and 0 deletions

View File

@ -604,8 +604,10 @@ openerp.base.search.Filter = openerp.base.search.Input.extend({
},
start: function () {
this._super();
var $view_form = this.view.$element.find('form');
this.$element.click(function () {
$(this).toggleClass('enabled');
$view_form.submit();
});
}
});