--- loncom/publisher/testbankimport.pm 2008/07/08 07:17:46 1.16 +++ loncom/publisher/testbankimport.pm 2008/09/22 01:53:33 1.17 @@ -1,5 +1,5 @@ # Handler for parsing text upload problem descriptions into .problems -# $Id: testbankimport.pm,v 1.16 2008/07/08 07:17:46 raeburn Exp $ +# $Id: testbankimport.pm,v 1.17 2008/09/22 01:53:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1163,8 +1163,8 @@ sub page_footer { my $nextval = &mt('Next Page'); my $prevclick = 'javascript:backPage();'; my $nextclick = 'javascript:nextPage();'; - my $go = ''; - if ($page == 0) { + my $go = ''; + if (($page == 0) || ($state eq 'badfile')) { $go = 'NextPage'; $prevval = &mt('Exit Now'); $prevclick = 'javascript:location.href='."'$webpath';"; @@ -1195,7 +1195,7 @@ sub page_footer {