[LON-CAPA-cvs] cvs: loncom /publisher testbankimport.pm

raeburn raeburn@source.lon-capa.org
Mon, 31 Jan 2011 17:49:13 -0000


raeburn		Mon Jan 31 17:49:13 2011 EDT

  Modified files:              
    /loncom/publisher	testbankimport.pm 
  Log:
  - Reverse one change in 1.27, so "Next Page" button will be displayed
    when plain text testbank file has been uploaded.
  
  
Index: loncom/publisher/testbankimport.pm
diff -u loncom/publisher/testbankimport.pm:1.28 loncom/publisher/testbankimport.pm:1.29
--- loncom/publisher/testbankimport.pm:1.28	Tue Dec 14 16:26:04 2010
+++ loncom/publisher/testbankimport.pm	Mon Jan 31 17:49:13 2011
@@ -1,5 +1,5 @@
 # Handler for parsing text upload problem descriptions into .problems
-# $Id: testbankimport.pm,v 1.28 2010/12/14 16:26:04 www Exp $
+# $Id: testbankimport.pm,v 1.29 2011/01/31 17:49:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1942,6 +1942,7 @@
         my ($result,$flag) = &Apache::lonupload::phasetwo($r,$fn,$uname,$udom,'testbank');
         $r->print($result);
         if ($flag eq 'ok') {
+            my $current_page = 0;
             my $js;
             &jscript_zero($webpath,\$js);
             $js = '<script type="text/javascript">'."\n$js\n".'</script>';