Changeset 2323

Show
Ignore:
Timestamp:
05/14/08 07:33:09 (18 months ago)
Author:
auno
Message:

Return to edit screen after "Save & Publish" for archive templates. BugzID:79729

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/lib/MT/CMS/Template.pm

    r2309 r2323  
    20682068    } else { 
    20692069        # nothing left after this publish operation; just return 
    2070         # to the listing screen. 
     2070        # to the edit screen. 
    20712071        $return_args = $app->uri_params( 
    2072             mode => 'list', 
     2072            mode => 'view', 
    20732073            args => { 
    2074                 _type => 'template', 
    2075                 blog_id => scalar $app->param('blog_id'), 
    2076                 published => 1 
     2074                _type     => 'template', 
     2075                blog_id   => scalar $app->param('blog_id'), 
     2076                published => 1, 
     2077                id        => $tmpl_id, 
     2078                saved     => 1, 
    20772079            } 
    20782080        );