From 21d72c4a80fe2937d0c4ddd20624b27adbcd989b Mon Sep 17 00:00:00 2001 From: lizi00164331 Date: Mon, 7 Aug 2017 11:39:39 +0800 Subject: Upload the ESR GUI seed code Issue-ID: AAI-68 Change-Id: Ia50ce0570c2fabecd77199d4e8454f56fe587c4e Signed-off-by: lizi00164331 --- .../zTree/api/en/zTreeObj.cancelEditName.html | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html b/common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html new file mode 100644 index 0000000..8afdae0 --- /dev/null +++ b/common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html @@ -0,0 +1,30 @@ +
+
+

Function(newName)zTreeObj.cancelEditName

+

Overview[ depends on jquery.ztree.exedit js ]

+
+

+
+

Cancel the edit name status. Can restore the original name, and can also force assigned to a new name.

+

Please use zTree object to executing the method.

+
+
+

Function Parameter Descriptions

+
+

newNameString

+

Re given a new name

+

If this parameter is omitted, then restore the original name.

+

Return none

+

no return value

+
+

Examples of function

+

1. Cancel edit name, and restore the original name.

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+treeObj.cancelEditName();
+
+

2. Cancel edit name , and set the new name.

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+treeObj.cancelEditName("test_new_name");
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg