From 6f01a8756fe38c0d6565c369005142adda4b9b57 Mon Sep 17 00:00:00 2001 From: “shentao” Date: Thu, 26 Jan 2017 16:19:00 +0800 Subject: rebuild GUI structure(only changed modules' name) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-id : CLIENT-14 Change-Id: Ie4fa30f1a51393576fbdc68e12d810565cbf06eb Signed-off-by: “shentao” --- .../zTree/api/cn/setting.callback.beforeAsync.html | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html (limited to 'portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html') diff --git a/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html b/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html deleted file mode 100644 index ea298dba..00000000 --- a/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-

Function(treeId, treeNode)setting.callback.beforeAsync

-

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

-
-

-
-

用于捕获异步加载之前的事件回调函数,zTree 根据返回值确定是否允许进行异步加载

-

默认值:null

-
-
-

Function 参数说明

-
-

treeIdString

-

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

-

treeNodeJSON

-

进行异步加载的父节点 JSON 数据对象

-

针对根进行异步加载时,treeNode = null

-

返回值Boolean

-

返回值是 true / false

-

如果返回 false,zTree 将不进行异步加载,也无法触发 onAsyncSuccess / onAsyncError 事件回调函数

-
-

setting & function 举例

-

1. 禁止 id 为 1 的父节点进行异步加载操作

-
function zTreeBeforeAsync(treeId, treeNode) {
-    return (treeNode.id !== 1);
-};
-var setting = {
-	callback: {
-		beforeAsync: zTreeBeforeAsync
-	}
-};
-......
-
-
\ No newline at end of file -- cgit 1.2.3-korg