]> source.dussan.org Git - gitblit.git/commit
HTML bug fix on the blob page
authorTom <tw201207@gmail.com>
Wed, 12 Nov 2014 19:27:17 +0000 (20:27 +0100)
committerTom <tw201207@gmail.com>
Wed, 12 Nov 2014 19:27:17 +0000 (20:27 +0100)
commit4dee2c5ee06677d12d5719bc18199a0affd13cc0
tree45305dc6b0bbbf3276d190f2743a2d30c1591798
parentbae957cd80e59f16fe011dda45ce2624e2ffd4d2
HTML bug fix on the blob page

That blob page sent *two* body tags. Now that we have bottom scripts,
we can fix that easily: don't try to set body.onload, but run the
prettyprinting through a bottom script on jQuery's document.ready.
src/main/java/com/gitblit/wicket/pages/BlobPage.html
src/main/java/com/gitblit/wicket/pages/BlobPage.java