Index: common.js =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/javascript/common.js,v retrieving revision 1.10.2.1 diff -u -r1.10.2.1 common.js --- common.js 13 Oct 2007 22:35:56 -0000 1.10.2.1 +++ common.js 16 Oct 2007 21:21:06 -0000 @@ -104,11 +104,25 @@ var g_div_relationships = 0x0080; var g_div_filter = 0x0100; + +/* List here the sections open by default */ +var g_default_view_settings = + g_div_history | + g_div_bugnotes | + g_div_bugnote_add | + g_div_bugnote_add | + g_div_bugnotestats | + g_div_upload_form | + g_div_monitoring | + g_div_sponsorship | + g_div_relationships; + + function GetViewSettings() { var t_cookie = GetCookie( "VIEW_SETTINGS" ); if ( -1 == t_cookie ) { - t_cookie = 0xffff; + t_cookie = g_default_view_settings; } else { t_cookie = parseInt( t_cookie ); }