This commit is contained in:
Liang Ding 2014-12-03 17:25:06 +08:00
parent fd65b031f6
commit 901b3a9817
1 changed files with 3 additions and 1 deletions

View File

@ -25,11 +25,13 @@ var bottomGroup = {
$(this).focus();
});
$('.bottom-window-group .output').on('click', '.path', function (e) {
$('.bottom-window-group .output').on('click', '.path', function (event) {
var $path = $(this),
tId = tree.getTIdByPath($path.data("path"));
tree.openFile(tree.fileTree.getNodeByTId(tId),
CodeMirror.Pos($path.data("line") - 1, $path.data("column") - 1));
event.preventDefault();
return false;
});
},
_initFrame: function () {