fix #11292: Asset Manager search too sticky
This commit is contained in:
parent
44193585ad
commit
21183eb10c
2 changed files with 2 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue