[ADD] perform search after clicking on a button
bzr revid: xmo@openerp.com-20110324162030-1dvnn422hsusmiol
This commit is contained in:
parent
491e6017af
commit
c96b91e690
|
@ -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();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue