提交 c0588825 authored 作者: Noel Grandin's avatar Noel Grandin

Issue #380: Error Analyzer doesn't show source code

上级 d78d54cd
...@@ -25,6 +25,8 @@ Change Log ...@@ -25,6 +25,8 @@ Change Log
</li> </li>
<li>PR #364: fix compare TIMESTAMP WITH TIMEZONE <li>PR #364: fix compare TIMESTAMP WITH TIMEZONE
</li> </li>
<li>Issue #380: Error Analyzer doesn't show source code
</li>
<li>Remove the "TIMESTAMP UTC" datatype, an experiment that was never finished. <li>Remove the "TIMESTAMP UTC" datatype, an experiment that was never finished.
</li> </li>
<li>PR #363: Added support to define last IDENTIFIER on a Trigger. <li>PR #363: Added support to define last IDENTIFIER on a Trigger.
......
...@@ -82,13 +82,12 @@ function go(file, line) { ...@@ -82,13 +82,12 @@ function go(file, line) {
get('file').innerHTML = file; get('file').innerHTML = file;
get('code').src = url; get('code').src = url;
} else { } else {
url = 'https://github.com/h2database/h2database/tree/'
if (build && build > 0) { if (build && build > 0) {
var tag = 'tags/version-' + getVersion(build) + '/h2'; url += 'version-' + getVersion(build) + '/h2';
} else { } else {
var tag = 'trunk/h2'; var tag = 'master/h2';
} }
url = 'http://code.google.com/p/h2database/source/browse/';
url += tag;
url += '/src/main/'; url += '/src/main/';
url += file; url += file;
url += '#'; url += '#';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论