Fix #177
This commit is contained in:
parent
fd65b031f6
commit
901b3a9817
|
@ -25,11 +25,13 @@ var bottomGroup = {
|
||||||
$(this).focus();
|
$(this).focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.bottom-window-group .output').on('click', '.path', function (e) {
|
$('.bottom-window-group .output').on('click', '.path', function (event) {
|
||||||
var $path = $(this),
|
var $path = $(this),
|
||||||
tId = tree.getTIdByPath($path.data("path"));
|
tId = tree.getTIdByPath($path.data("path"));
|
||||||
tree.openFile(tree.fileTree.getNodeByTId(tId),
|
tree.openFile(tree.fileTree.getNodeByTId(tId),
|
||||||
CodeMirror.Pos($path.data("line") - 1, $path.data("column") - 1));
|
CodeMirror.Pos($path.data("line") - 1, $path.data("column") - 1));
|
||||||
|
event.preventDefault();
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
_initFrame: function () {
|
_initFrame: function () {
|
||||||
|
|
Loading…
Reference in New Issue