From e02cfb1940c721efa29d7766763e5d5beaf46189 Mon Sep 17 00:00:00 2001 From: Lizi Date: Thu, 18 Jan 2018 09:24:19 +0000 Subject: Remove the redundancy packages Change-Id: I1c04ad98a1fc0351b69c125c7afc8b6ee8ad64af Issue-ID: AAI-591 Signed-off-by: Lizi --- .../api/cn/setting.callback.beforeCollapse.html | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 common/src/main/webapp/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html b/common/src/main/webapp/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html deleted file mode 100644 index d778e9c..0000000 --- a/common/src/main/webapp/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-

Function(treeId, treeNode)setting.callback.beforeCollapse

-

概述[ 依赖 jquery.ztree.core 核心 js ]

-
-

-
-

用于捕获父节点折叠之前的事件回调函数,并且根据返回值确定是否允许折叠操作

-

默认值:null

-
-
-

Function 参数说明

-
-

treeIdString

-

对应 zTree 的 treeId,便于用户操控

-

treeNodeJSON

-

要折叠的父节点 JSON 数据对象

-

返回值Boolean

-

返回值是 true / false

-

如果返回 false,zTree 将不会折叠节点,也无法触发 onCollapse 事件回调函数

-
-

setting & function 举例

-

1. 禁止所有已展开的父节点折叠

-
function zTreeBeforeCollapse(treeId, treeNode) {
-    return false;
-};
-var setting = {
-	callback: {
-		beforeCollapse: zTreeBeforeCollapse
-	}
-};
-......
-
-
\ No newline at end of file -- cgit 1.2.3-korg