Merge pull request #207 from youymi/master

fixed issue#200
This commit is contained in:
Liang Ding 2015-01-27 16:09:19 +08:00
commit 1d885281b9
1 changed files with 4 additions and 0 deletions

View File

@ -489,6 +489,10 @@ var wide = {
// 点击隐藏弹出层 // 点击隐藏弹出层
$("body").bind("mouseup", function (event) { $("body").bind("mouseup", function (event) {
//fix issue#200 右键文件树失效
if (event.which == 3) {
return false;
}
$(".frame").hide(); $(".frame").hide();
if (!($(event.target).closest(".frame").length === 1 || event.target.className === "frame")) { if (!($(event.target).closest(".frame").length === 1 || event.target.className === "frame")) {