go api 右键不弹窗

This commit is contained in:
Van 2014-12-25 16:34:35 +08:00
parent d75e52b648
commit 44d63749b8
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ var tree = {
} }
}, },
onRightClick: function (event, treeId, treeNode) { onRightClick: function (event, treeId, treeNode) {
if (treeNode) { if (treeNode && !treeNode.isGOAPI) {
menu.undisabled(['import', 'export']); menu.undisabled(['import', 'export']);
wide.curNode = treeNode; wide.curNode = treeNode;