View Issue Details

IDProjectCategoryView StatusLast Update
0005569mantisbtfilterspublic2005-05-31 11:33
Reporterstratitec Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0a2 
Fixed in Version1.0.0a3 
Summary0005569: +/- button on Filter does not remember.
Description

Okay, in trying to keep the "View Issues" search bar collapsed (we don't need it.) We came upon a minor flaw. The javascript creates the cookie, but never recalls it, so that the search +/- is always expanded.

Here's a possible fix: Change

-- ====================== FILTER FORM ========================= --

    filter_draw_selection_area( $f_page_number );
    # -- ====================== end of FILTER FORM ================== --

to

    # -- ====================== FILTER FORM ========================= --
    filter_draw_selection_area( $f_page_number );
    echo "<script type='text/javascript'>SetDiv('filter', g_div_filter);</script>";
    # -- ====================== end of FILTER FORM ================== --

Alternately, that script can be placed in a more appropriate place in the function hierarchy -- inside filter_draw_selection_area, perhaps.

TagsNo tags attached.

Relationships

related to 0005572 closedthraxisp +/- button to show/hide filters doesn't work with IE5.5 
has duplicate 0005570 closedthraxisp +/- button on Filter does not remember. 
has duplicate 0005517 closedthraxisp Filter / Search box does not stay closed 

Activities

stratitec

stratitec

2005-05-05 13:36

reporter   ~0010038

Oops, double post.

astax

astax

2005-05-09 22:56

reporter   ~0010056

This issue is related to 0005572.

I've also noticed this problem. The error is in collapse_api.php, function collapse_end()

It produces Javascript with comments on a single line, this way:
<script type="text/JavaScript"><!-- SetDiv( "filter", g_div_filter );--></script>

but browser ignores the first line with html comments. So, to make it working correctly it should be:

<script type="text/JavaScript"><!--
SetDiv( "filter", g_div_filter );
--></script>

thraxisp

thraxisp

2005-05-10 08:29

reporter   ~0010062

Fixed in CVS.

core/collapse_api.php -> 1.5