Page redirect URLs no longer redirect when admin mode is turned on in order to make the page properties easier to edit.

This commit is contained in:
JT Smith 2003-04-16 02:03:42 +00:00
parent 690864df45
commit cfeb07a9c9
2 changed files with 3 additions and 3 deletions

View file

@ -250,7 +250,7 @@ sub page {
return $httpHeader.$operationOutput.$wobjectOutput;
} elsif ($operationOutput ne "") {
$positions->{"page.position1"} = $operationOutput;
} elsif ($session{page}{redirectURL}) {
} elsif ($session{page}{redirectURL} && !$session{var}{adminOn}) {
$httpHeader = WebGUI::Session::httpRedirect(WebGUI::Macro::process($session{page}{redirectURL}));
WebGUI::Session::close();
return $httpHeader;