[imp] small improvement to advanced filters
bzr revid: nicolas.vanhoren@openerp.com-20110621141107-m7xcywalskoujsq0
This commit is contained in:
parent
04121f8b03
commit
ee1970c2da
|
@ -759,11 +759,9 @@ openerp.base.search.ExtendedSearch = openerp.base.BaseWidget.extend({
|
|||
on_activate: function() {
|
||||
this.add_group();
|
||||
var table = this.$element.closest("table.oe-searchview-render-line");
|
||||
if(table.css("display") == "none") {
|
||||
table.css("display", "");
|
||||
if(this.$element.hasClass("folded")) {
|
||||
this.$element.toggleClass("folded expanded");
|
||||
}
|
||||
table.css("display", "");
|
||||
if(this.$element.hasClass("folded")) {
|
||||
this.$element.toggleClass("folded expanded");
|
||||
}
|
||||
},
|
||||
hide: function() {
|
||||
|
|
Loading…
Reference in New Issue