Removed the "fix_scrollbarbug" div and all references to it.
[citadel.git] / webcit / tasks.c
index 7b9552e86285284724f1210cf8562d0da2869160..d4b5b27ae521edd5292e17e19d0739cf40c51f6f 100644 (file)
@@ -89,9 +89,7 @@ int tasks_RenderView_or_Tail(SharedMessageStatus *Stat,
        icalproperty *p;
        wcsession *WCC = WC;
 
-       wc_printf("<div class=\"fix_scrollbar_bug\">"
-               "<table class=\"calendar_view_background\"><tbody id=\"taskview\">\n<tr>\n"
-               "<th>");
+       wc_printf("<table class=\"calendar_view_background\"><tbody id=\"taskview\">\n<tr>\n<th>");
        wc_printf(_("Completed?"));
        wc_printf("</th><th>");
        wc_printf(_("Name of task"));
@@ -133,7 +131,7 @@ int tasks_RenderView_or_Tail(SharedMessageStatus *Stat,
                p = icalcomponent_get_first_property(Cal->cal,
                        ICAL_SUMMARY_PROPERTY);
                wc_printf("<a href=\"display_edit_task?msgnum=%ld?taskrm=", Cal->cal_msgnum);
-               urlescputs(ChrPtr(WC->wc_roomname));
+               urlescputs(ChrPtr(WC->CurRoom.name));
                wc_printf("\">");
                /* wc_printf("<img align=middle "
                "src=\"static/taskmanag_16x.gif\" border=0>&nbsp;"); */
@@ -163,7 +161,7 @@ int tasks_RenderView_or_Tail(SharedMessageStatus *Stat,
                wc_printf("</tr>");
        }
 
-       wc_printf("</tbody></table></div>\n");
+       wc_printf("</tbody></table>\n");
 
        /* Free the list */
        DeleteHash(&WC->disp_cal_items);
@@ -578,7 +576,7 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum, char* from
                summary();
        }
        else {
-               readloop(readfwd);
+               readloop(readfwd, eUseDefault);
        }
 }
 
@@ -669,6 +667,7 @@ InitModule_TASKS
                VIEW_TASKS,
                tasks_GetParamsGetServerCall,
                NULL,
+               NULL,
                tasks_LoadMsgFromServer,
                tasks_RenderView_or_Tail,
                tasks_Cleanup);