From bc9145790ce9df23edacc3d895bd1c8749bf413d Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 22 Oct 2014 17:06:49 +0800 Subject: [PATCH] . --- .gitignore | 1 + static/js/wide.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7893291..959d75d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /wide.exe /wide +/main /data/workspace/bin/ /data/workspace/pkg/ diff --git a/static/js/wide.js b/static/js/wide.js index 165d9cb..25c70d2 100644 --- a/static/js/wide.js +++ b/static/js/wide.js @@ -432,6 +432,8 @@ var wide = { if ($(".menu li.save-all").hasClass("disabled")) { return false; } + + // TODO: 只保存未保存过的文件 for (var i = 0, ii = editors.data.length; i < ii; i++) { this.fmt(tree.fileTree.getNodeByTId(editors.data[i].id).path, editors.data[i].editor);