From: Brian S. <xue...@us...> - 2007-02-10 22:56:23
|
Update of /cvsroot/popfile/engine/UI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11563 Modified Files: Tag: b0_22_2 HTML.pm Log Message: Change the MIME type used for the download of a single message file to force the browser to display the "Save as" menu (instead of simply displaying the message in the browser) Index: HTML.pm =================================================================== RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v retrieving revision 1.311.4.9 retrieving revision 1.311.4.10 diff -C2 -d -r1.311.4.9 -r1.311.4.10 *** HTML.pm 17 Jan 2007 03:16:24 -0000 1.311.4.9 --- HTML.pm 10 Feb 2007 22:56:18 -0000 1.311.4.10 *************** *** 2576,2580 **** if ( defined( $self->{form_}{text} ) ) { ! $self->http_file_( $client, $self->{history__}->get_slot_file( $self->{form_}{view} ), 'text/plain' ); return 1; } --- 2576,2580 ---- if ( defined( $self->{form_}{text} ) ) { ! $self->http_file_( $client, $self->{history__}->get_slot_file( $self->{form_}{view} ), 'application/save-as' ); return 1; } |