diff --git a/lib/WebGUI/Operation/Navigation.pm b/lib/WebGUI/Operation/Navigation.pm index a57cb1d44..0b31ac8af 100644 --- a/lib/WebGUI/Operation/Navigation.pm +++ b/lib/WebGUI/Operation/Navigation.pm @@ -148,6 +148,12 @@ sub www_editNavigation { # The documented interface of HTMLForm::combo didn't work. However the old functional interface does... $f->getTab("properties")->combo("startAt",$levels,WebGUI::International::get(25,'Navigation'),[$startAt]); + $f->getTab("properties")->selectList( + -name=>'method', + -label=>WebGUI::International::get(28,'Navigation'), + -options=>WebGUI::Navigation::getMethodNames(), + -value=>[$session{form}{method} || $config->{method}] + ); tie my %stopAtLevels, 'Tie::IxHash'; %stopAtLevels = ( '-1' => 'no limit', '0' => '0. '.WebGUI::International::get(1,'Navigation'), @@ -186,12 +192,6 @@ sub www_editNavigation { -options=>\%depths, -value=>[$session{form}{depth} || $config->{depth}] ); - $f->getTab("properties")->selectList( - -name=>'method', - -label=>WebGUI::International::get(28,'Navigation'), - -options=>WebGUI::Navigation::getMethodNames(), - -value=>[$session{form}{method} || $config->{method}] - ); $f->getTab("properties")->yesNo( -name=>'showSystemPages', -label=>WebGUI::International::get(30,'Navigation'),