[FIX] show correct menu items after reordering

This commit is contained in:
Holger Brunn
2014-08-25 10:58:22 +02:00
parent 72ab78a850
commit 8afd947a94

View File

@@ -47,8 +47,8 @@ openerp.advanced_filters = function(instance)
$e = jQuery(e)
if($e.find('li.oe_advanced_filters_header').length)
{
$e.find('a[data-index="0"],a[data-index="1"],' +
'a[data-index="2"],a[data-index="3"]')
$e.find('a[data-index="3"],a[data-index="4"],' +
'a[data-index="5"],a[data-index="6"]')
.parent().toggle(ids.length > 0);
}
else