From 4dee2c5ee06677d12d5719bc18199a0affd13cc0 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 12 Nov 2014 20:27:17 +0100 Subject: [PATCH] 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 | 5 ++--- src/main/java/com/gitblit/wicket/pages/BlobPage.java | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/pages/BlobPage.html b/src/main/java/com/gitblit/wicket/pages/BlobPage.html index 3f9a959a..289c1498 100644 --- a/src/main/java/com/gitblit/wicket/pages/BlobPage.html +++ b/src/main/java/com/gitblit/wicket/pages/BlobPage.html @@ -40,9 +40,8 @@ + - -