From: Art Cancro Date: Wed, 24 Oct 2007 05:00:52 +0000 (+0000) Subject: Updated the embedded JavaScript in tabs.c X-Git-Tag: v7.86~2922 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=cc4594eedb0a9e0d306b0a29dcb62eba8f88303f Updated the embedded JavaScript in tabs.c to switch the class of tabs between tab_cell_label and tab_cell_edit when different tabs are selected. --- diff --git a/webcit/tabs.c b/webcit/tabs.c index 2118d8bb1..ef58f27bc 100644 --- a/webcit/tabs.c +++ b/webcit/tabs.c @@ -24,6 +24,8 @@ void tabbed_dialog(int num_tabs, char *tabnames[]) { " } " " $('tabdiv'+previously_selected_tab).style.display = 'none'; " " $('tabdiv'+which_tab).style.display = 'block'; " + " $('tabtd'+previously_selected_tab).className = 'tab_cell_edit'; " + " $('tabtd'+which_tab).className = 'tab_cell_label'; " " previously_selected_tab = which_tab; " "} " " \n"