1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 07:36:32 +02:00

Remember selected option.

This commit is contained in:
Cameron
2013-05-18 15:03:17 -07:00
parent a8951691d5
commit 66000445ec

View File

@@ -852,7 +852,7 @@ function show_tools()
$text .= "</optgroup><optgroup label='".$type."'>\n"; $text .= "</optgroup><optgroup label='".$type."'>\n";
} }
$text .= "<option value='".$val."'>".$label."</option>\n"; $text .= "<option value='".$val."' ".$selected.">".$label."</option>\n";
$prev = $type; $prev = $type;
} }