From: <wg...@us...> - 2009-02-11 15:23:19
|
Revision: 16695 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=16695&view=rev Author: wggley Date: 2009-02-11 15:23:14 +0000 (Wed, 11 Feb 2009) Log Message: ----------- Fixing bug id 2276 that occurs when someone selects a filter and try to select another filter. The input for the filter where alternating between visible or not, causing the bug. Modified Paths: -------------- trunk/templates/tracker_filter.tpl Modified: trunk/templates/tracker_filter.tpl =================================================================== --- trunk/templates/tracker_filter.tpl 2009-02-11 15:21:53 UTC (rev 16694) +++ trunk/templates/tracker_filter.tpl 2009-02-11 15:23:14 UTC (rev 16695) @@ -25,7 +25,9 @@ {/foreach} //--><!]]> </script> -<select name="filterfield" onchange="multitoggle(fields,this.options[selectedIndex].value);flip('filterbutton');"> +{*FIX flip from tikijs.js this only a paleative<select name="filterfield" onchange="multitoggle(fields,this.options[selectedIndex].value);flip('filterbutton');">*} +<select name="filterfield" onchange="multitoggle(fields,this.options[selectedIndex].value); {literal}showit = 'show_filterbutton'; if(this.selectedIndex == 0){document.getElementById('filterbutton').style.display = 'none';setSessionVar(showit,'n');}else{ document.getElementById('filterbutton').style.display = 'block'; setSessionVar(showit,'y');}{/literal}"> +{*FIX flip from tikijs.js this only a paleative<select name="filterfield" onchange="multitoggle(fields,this.options[selectedIndex].value);flip('filterbutton');">*} <option value="">{tr}Choose a filter{/tr}</option> {foreach key=fid item=field from=$listfields} {if $field.isSearchable eq 'y' and $field.type ne 'f' and $field.type ne 'j' and $field.type ne 'i' and ($field.isHidden ne 'y' or $tiki_p_admin_trackers eq 'y')} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |