[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /publisher testbankimport.pm
From:       raeburn <raeburn () source ! lon-capa ! org>
Date:       2011-01-31 17:49:13
Message-ID: cvsraeburn1296496153 () cvsserver
[Download RAW message or body]

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>';


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic