]> code.citadel.org Git - citadel.git/commitdiff
BubbleTooltips.js is now loaded as part of the HEAD of every
authorArt Cancro <ajc@citadel.org>
Sun, 3 Dec 2006 05:10:39 +0000 (05:10 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 3 Dec 2006 05:10:39 +0000 (05:10 +0000)
page, instead of in the middle of the calendar month view.  This is because
Internet Exploder displays an error when we try to enable tooltips, if the
page was loaded using HTTPS.  We don't know why, aside from the usual reason that
IE sucks.

webcit/calendar_view.c
webcit/static/head.html

index c834ccc2114d08bad7d272f93d6a42b10202dfdb..6aea0e0d99387b8f0fb9e1093b9459ac957c21a4 100644 (file)
@@ -424,8 +424,7 @@ void calendar_month_view(int year, int month, int day) {
         * being rendered.  See http://www.shaftek.org/blog/archives/000212.html
         * for more information.
         */ 
-       wprintf("<script type=\"text/javascript\" src=\"static/BubbleTooltips.js\"></script>\n"
-               "<script type=\"text/javascript\">"
+       wprintf("<script type=\"text/javascript\">"
                " setTimeout(\"btt_enableTooltips('inner_month')\", 1); "
                "</script>\n"
        );
index fb695539889eddcfab1cc9ac9fc59ad09d315c86..8ed78102cce7796109ed6ef98e3dc80e2e6aba26 100644 (file)
@@ -9,6 +9,7 @@
 <script type="text/javascript" src="static/prototype.js"></script>
 <script type="text/javascript" src="static/scriptaculous.js"></script>
 <script type="text/javascript" src="static/niftycube.js"></script>
+<script type="text/javascript" src="static/BubbleTooltips.js"></script>
 
 </head>
 <body>