fix #11292: Asset Manager search too sticky

This commit is contained in:
Doug Bell 2010-01-29 17:06:04 -06:00
parent 44193585ad
commit 21183eb10c
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@
- fixed #11380: "Use this Address" button in Shop needs to be green!
- fixed: Due to a typo France was not considered part of the EU by the EU
TaxDriver. ( Martin Kamerbeek / Oqapi )
- fixed #11292: Made search less sticky
7.8.10
- fixed #11332: Pagination in webgui.org forum urls

View file

@ -27,7 +27,7 @@ sub getClassSelectBox {
);
delete $classes{"WebGUI::Asset"}; # don't want to search for the root asset
my $className = $session->scratch->get('assetManagerSearchClassName') || $session->form->process("class","className");
my $className = $session->form->process("class","className") || $session->scratch->get('assetManagerSearchClassName');
$session->scratch->set('assetManagerSearchClassName', $className);
return WebGUI::Form::selectBox( $session, {
name => "class",