Changeset 12 for trunk/lib/MT/App/CMS.pm

Show
Ignore:
Timestamp:
06/10/06 18:44:17 (3 years ago)
Author:
jallen
Message:

r1032@jays-computer (orig r30781): bchoate | 2006-06-09 23:02:34 -0700
Added 'refocus' parameter to control whether popup window should bring itself to the foreground or not. BugId: 30109

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/MT/App/CMS.pm

    r5 r12  
    29682968        } 
    29692969        $param{show_feedback} = $param{show_allow_pings} || $param{show_allow_comments}; 
     2970        $param{refocus} = 1; 
    29702971        return $app->build_page("bm_entry.tmpl", \%param); 
    29712972    } elsif ($param{output}) { 
     
    75017502    $app->run_callbacks('RebuildOptions', $app, \@options); 
    75027503    $param{rebuild_option_loop} = \@options; 
     7504    $param{refocus} = 1; 
    75037505    $app->add_breadcrumb($app->translate('Rebuild Site')); 
    75047506    $app->build_page('rebuild_confirm.tmpl', \%param); 
     
    82118213    push @extra_paths, { path => $date_stamp, label => '<' . $app->translate($label_path) . '>' . '/' . $date_stamp }; 
    82128214    $param{extra_paths} = \@extra_paths; 
     8215    $param{refocus} = 1; 
    82138216    $app->build_page('upload.tmpl', \%param); 
    82148217}