]> code.citadel.org Git - citadel.git/commitdiff
* Changed the "auto read new" functionality from a meta refresh tag
authorArt Cancro <ajc@citadel.org>
Sun, 27 Dec 1998 04:13:55 +0000 (04:13 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 27 Dec 1998 04:13:55 +0000 (04:13 +0000)
          to an "onload" directive (the former was causing graphics problems)

webcit/ChangeLog
webcit/roomops.c

index 95f18b33c7d9204478aee84f9347e582fcba2b6b..61091f4e8b41c4a271410a40087ac9cc957ec6af 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec 26 23:12:47 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
+       * Changed the "auto read new" functionality from a meta refresh tag
+         to an "onload" directive (the former was causing graphics problems)
+
 Tue Dec 22 22:35:50 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Got the Zap and List-Zapped commands working
        * Added a convenience function to display a page with an error string
index 668af7bc768e73e7bb389a956550c968579a5c61..74759e5e671697152645b90f513bb8f46bf0715c 100644 (file)
@@ -203,12 +203,11 @@ void gotoroom(char *gname, int display_name)
        printf("Window-target: top\n");
        output_headers(0);
 
-        wprintf("<HTML><HEAD>\n");
+        wprintf("<HTML><HEAD></HEAD><BODY \n");
 
        /* automatically fire up a read-new-msgs in the bottom frame */
-       wprintf("<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=/readnew\">\n");
+       if (display_name) wprintf("onload=location=\"/readnew\" ");
 
-        wprintf("</HEAD><BODY ");
         wprintf("BACKGROUND=\"/image&name=background\" TEXT=\"#000000\" LINK=\"#004400\">\n");
 
        if (display_name != 2) {