Ignore:
Timestamp:
11/26/08 08:45:52 (3 years ago)
Author:
MichaelDaum
Message:

Item309: fixed checkpoint save to keep the edit_template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/UI/Save.pm

    r830 r957  
    474474    if ( $saveaction eq 'checkpoint' ) { 
    475475        $query->param( -name => 'dontnotify', -value => 'checked' ); 
     476        my $edittemplate = $query->param( 'template' ); 
    476477        my $editURL = $session->getScriptUrl( 1, $edit, $web, $topic ); 
    477478        $redirecturl = $editURL . '?t=' . time(); 
     
    481482        # select the appropriate edit template 
    482483        $redirecturl .= '&action=' . $editaction if $editaction; 
     484        $redirecturl .= '&template=' . $edittemplate if $edittemplate; 
     485 
    483486        $redirecturl .= '&skin=' . $query->param('skin') 
    484487          if $query->param('skin'); 
Note: See TracChangeset for help on using the changeset viewer.