Commit 6052c324 by 宋祥

1.顶级目录不能使用右键功能

parent 15971322
...@@ -320,7 +320,8 @@ $(function () { ...@@ -320,7 +320,8 @@ $(function () {
if (e.button !== 2) { if (e.button !== 2) {
return return
} }
if ("工程设计图" === e.target.textContent || "外来制造图" === e.target.textContent || "其他" === e.target.textContent) { if ("工程设计图" === e.target.textContent || "外来涉密图" === e.target.textContent
|| "备件制造图" === e.target.textContent || "其他" === e.target.textContent) {
$("#isAdd").css('display', 'none'); $("#isAdd").css('display', 'none');
$("#isDel").css('display', 'none'); $("#isDel").css('display', 'none');
$("#isEdit").css('display', 'none'); $("#isEdit").css('display', 'none');
...@@ -331,8 +332,7 @@ $(function () { ...@@ -331,8 +332,7 @@ $(function () {
$("#isEdit").css('display', 'block'); $("#isEdit").css('display', 'block');
$("#isAuth").css('display', 'block'); $("#isAuth").css('display', 'block');
} }
} });
);
$("#menumenu").kendoContextMenu({ $("#menumenu").kendoContextMenu({
target: "#" + options.treeId, target: "#" + options.treeId,
select: function (e) { select: function (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment