Changeset 1221 for trunk/core/lib/Foswiki/UI/Manage.pm
- Timestamp:
- 12/09/08 18:16:48 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/UI/Manage.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/UI/Manage.pm
r1206 r1221 263 263 | =currentwebonly= | if defined, searches current web only for links to this topic | 264 264 | =nonwikiword= | if defined, a non-wikiword is acceptable for the new topic name | 265 | =redirectto= | If the rename process is successful, rename will redirect to this topic or URL. The parameter value can be a =TopicName=, a =Web.TopicName=, or a URL.%BR% __Note:__ Redirect to a URL only works if it is enabled in =configure= (Miscellaneous ={AllowRedirectUrl}=). | 265 266 266 267 =cut … … 462 463 } 463 464 464 # follow redirectto=465 $session->redirect( $ new_url, undef, 1);465 # follow redirectto 466 $session->redirect( $session->redirectto( $new_url ) ); 466 467 } 467 468 … … 1587 1588 }; 1588 1589 my $viewURL = $session->getScriptUrl( 0, 'view', $web, $topic ); 1589 $session->redirect( $viewURL, undef, 1 ); 1590 return; 1591 1590 $session->redirect( $session->redirectto($viewURL) ); 1592 1591 } 1593 1592
Note: See TracChangeset
for help on using the changeset viewer.
