From 96ff33064aef6830d9d494f8c18ce5f2b9fcd40a Mon Sep 17 00:00:00 2001 From: hieplq Date: Wed, 20 Jan 2016 14:47:19 +0700 Subject: [PATCH] Backed out changeset: d83bca850b09 fixed by zk team:http://tracker.zkoss.org/browse/ZK-3022 --- .../webui/component/SimpleTreeModel.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java index 8ef827a04b..a477f557a2 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java @@ -149,13 +149,6 @@ public class SimpleTreeModel extends org.zkoss.zul.DefaultTreeModel impl } } - private boolean isExpandAll = true; - - @Override - public boolean isPathOpened(int[] path) { - return isExpandAll || super.isPathOpened(path); - } - /** * @param ti * @param node @@ -335,12 +328,4 @@ public class SimpleTreeModel extends org.zkoss.zul.DefaultTreeModel impl fireEvent(TreeDataEvent.CONTENTS_CHANGED, getPath(parent), i, i); } } - - public boolean isExpandAll() { - return isExpandAll; - } - - public void setExpandAll(boolean isExpandAll) { - this.isExpandAll = isExpandAll; - } }