diff --git a/i18n/en_US.json b/i18n/en_US.json index a6a6d4c..ed37c33 100644 --- a/i18n/en_US.json +++ b/i18n/en_US.json @@ -158,5 +158,6 @@ "find_in_files": "Find in Files", "email": "Email", "no_empty": "Can not Empty!", - "change_avatar": "Avatar modify go" + "change_avatar": "Avatar modify go", + "open": "Open" } \ No newline at end of file diff --git a/i18n/ja_JP.json b/i18n/ja_JP.json index 12bc375..0907614 100644 --- a/i18n/ja_JP.json +++ b/i18n/ja_JP.json @@ -158,5 +158,6 @@ "find_in_files": "ファイルから検索", "email": "Eメール", "no_empty": "空ではありません", - "change_avatar": "アバターの変更は行く" + "change_avatar": "アバターの変更は行く", + "open": "オープン" } diff --git a/i18n/zh_CN.json b/i18n/zh_CN.json index 7732873..ac26387 100644 --- a/i18n/zh_CN.json +++ b/i18n/zh_CN.json @@ -158,5 +158,6 @@ "find_in_files": "在文件中查找", "email": "电子邮件", "no_empty": "不能为空", - "change_avatar": "头像修改请到" + "change_avatar": "头像修改请到", + "open": "打开" } \ No newline at end of file diff --git a/i18n/zh_TW.json b/i18n/zh_TW.json index 8dd6ed9..878554d 100644 --- a/i18n/zh_TW.json +++ b/i18n/zh_TW.json @@ -158,5 +158,6 @@ "find_in_files": "在文件中查找", "email": "電子郵件", "no_empty": "不能為空", - "change_avatar": "頭像修改請到" + "change_avatar": "頭像修改請到", + "open": "打開" } \ No newline at end of file diff --git a/static/js/tree.js b/static/js/tree.js index 7efe271..26a76c5 100644 --- a/static/js/tree.js +++ b/static/js/tree.js @@ -105,6 +105,7 @@ var tree = { if (wide.curNode.iconSkin.indexOf("ico-ztree-dir") === 0) { return true; } + return false; }, newFile: function (it) { @@ -127,11 +128,11 @@ var tree = { return false; } } else { - // 直接调用时,如果为 api 及其子目录或者 workspace 则不能进行删除 if (!wide.curNode.removable) { return false; } } + $("#dialogRemoveConfirm").dialog("open"); }, rename: function (it) { @@ -140,6 +141,7 @@ var tree = { return false; } } + $("#dialogRenamePrompt").dialog("open"); }, export: function (it) { diff --git a/views/index.html b/views/index.html index 4bc996e..f6eb579 100644 --- a/views/index.html +++ b/views/index.html @@ -35,7 +35,7 @@ - +