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:
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user