WebTreeTable - isExpanded() method doesn't work #PL-6201

This commit is contained in:
Gleb Gorelov 2015-10-20 09:00:52 +00:00
parent b93d50daa5
commit 693964845f

View File

@ -122,9 +122,7 @@ public class WebTreeTable<E extends Entity> extends WebAbstractTable<CubaTreeTab
@Override
public boolean isExpanded(Object itemId) {
if (component.containsId(itemId)) {
if (ObjectUtils.equals(id, itemId)) {
return !component.isCollapsed(id);
}
return !component.isCollapsed(itemId);
}
return false;
}