[Fusionforge-commits] r13855 - trunk/src/common/include

Julien HEYMAN jheyman at fusionforge.org
Thu Jul 28 10:36:34 CEST 2011


Author: jheyman
Date: 2011-07-28 10:36:34 +0200 (Thu, 28 Jul 2011)
New Revision: 13855

Modified:
   trunk/src/common/include/Navigation.class.php
Log:
Fix list box search, because, list don't keep open

Modified: trunk/src/common/include/Navigation.class.php
===================================================================
--- trunk/src/common/include/Navigation.class.php	2011-07-28 08:34:30 UTC (rev 13854)
+++ trunk/src/common/include/Navigation.class.php	2011-07-28 08:36:34 UTC (rev 13855)
@@ -153,15 +153,14 @@
 		$searchManager->setParametersValues($parameters);
 		$searchEngines =& $searchManager->getAvailableSearchEngines();
 
-		$res .= '<label for="searchBox-words">
-			<select name="type_of_search">';
+		$res .= '<select name="type_of_search">';
 		for($i = 0, $max = count($searchEngines); $i < $max; $i++) {
 			$searchEngine =& $searchEngines[$i];
 			$res .= '<option value="' . $searchEngine->getType() . '"'
 				. ( $type_of_search == $searchEngine->getType() ? ' selected="selected"' : '' )
 				. '>' . $searchEngine->getLabel($parameters) . '</option>' . "\n";
 		}
-		$res .= '</select></label>';
+		$res .= '</select>';
 
 		$parameters = $searchManager->getParameters();
 		foreach($parameters AS $name => $value) {




More information about the Fusionforge-commits mailing list