aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2012-03-06 03:28:19 +0700
committerGravatar Ugnich Anton2012-03-06 03:28:19 +0700
commit4441c908f773f1b7c2b203fc6f47349408ae82c0 (patch)
treed502bb7f73cdab4c493395248dc3da812984aef1 /src/java/com/juick/http/www/UserThread.java
parentb4a7601a14c9077fcfefc083ed39348409d57b76 (diff)
UserThread unfoldReply
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index 406698bf..e64b4437 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -71,7 +71,7 @@ public class UserThread {
PageTemplates.pageNavigation(out, locale, visitor);
PageTemplates.pageUserTitle(out, sql, locale, user, visitor);
-
+
out.println("<div id=\"wrapper\">");
out.println("<div id=\"content\" style=\"margin-left: 0; width: 100%\">");
@@ -80,9 +80,14 @@ public class UserThread {
printReplies(out, sql, MID, locale, listview);
out.println("</div>");
-
+
out.println("</div>");
+ out.println("<script type=\"text/javascript\">");
+ out.println("$(document).ready(unfoldReply);");
+ out.println("$(window).bind('hashchange',unfoldReply);");
+ out.println("</script>");
+
PageTemplates.pageFooter(request, out, locale, visitor);
} finally {
out.close();