fixed #177
This commit is contained in:
parent
42812d56fb
commit
fd65b031f6
|
@ -25,13 +25,11 @@ var bottomGroup = {
|
||||||
$(this).focus();
|
$(this).focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.bottom-window-group .output .path').click(function (e) {
|
$('.bottom-window-group .output').on('click', '.path', function (e) {
|
||||||
var path = $(e.target);
|
var $path = $(this),
|
||||||
console.log(path.data("path"));
|
tId = tree.getTIdByPath($path.data("path"));
|
||||||
console.log(path.data("line"));
|
tree.openFile(tree.fileTree.getNodeByTId(tId),
|
||||||
console.log(path.data("column"));
|
CodeMirror.Pos($path.data("line") - 1, $path.data("column") - 1));
|
||||||
|
|
||||||
// TODO: open editor
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
_initFrame: function () {
|
_initFrame: function () {
|
||||||
|
|
Loading…
Reference in New Issue