|
|
@ -84,8 +84,10 @@ ChatAction.include({ |
|
|
|
destroy: function() { |
|
|
|
var result = this._super.apply(this, arguments); |
|
|
|
$('.oe_leftbar .oe_secondary_menu').each(function(){ |
|
|
|
if ($(this).css('display') == 'block' && $(this).children().length > 0){ |
|
|
|
if ($(this).css('display') == 'block'){ |
|
|
|
if ($(this).children().length > 0) { |
|
|
|
$('.oe_leftbar').toggle(true); |
|
|
|
} |
|
|
|
return false; |
|
|
|
} |
|
|
|
}); |
|
|
|