Code: Select all
collapse_open( 'filter', true );
filter_draw_selection_area2( $p_page_number, $p_for_screen, true );
collapse_closed( 'filter' );
filter_draw_selection_area2( $p_page_number, $p_for_screen, false );
collapse_end( 'filter' );
(Have I miss something? At least I've found no way to make that filter and some other regions collapsed by default)
See new collapse_api code below.
Other improvements concern bug view page.
- You should use width="15%" for 'New relationship' column at relationship_view_box
- Consider also using collapse_api in bug_file_upload_inc.php instead of hardcoding 'ToggleDiv' feature (and please remove SetDiv call at the end of this file since it seems to be useless besides it breaks 'collapse by default' feature :)
- Both notes above concern bugnote_add_inc.php file. Plus do not forget to change second column width from 75% to 85% (otherwise 15% for the first column is not fully effective).
All these changes will make bug view page look more accurate - all the categories fields will have the same width like it's a single category column has been used thoughout the whole page. :)
These changes are made on the base of 1.0.0a2 version.