[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm

banghart lon-capa-cvs@mail.lon-capa.org
Thu, 25 Nov 2004 23:56:20 -0000


banghart		Thu Nov 25 18:56:20 2004 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  	Navigating using the recent dropdown now retains select mode and
  	parent field information.
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.57 loncom/interface/portfolio.pm:1.58
--- loncom/interface/portfolio.pm:1.57	Mon Nov 22 17:59:32 2004
+++ loncom/interface/portfolio.pm	Thu Nov 25 18:56:19 2004
@@ -74,7 +74,7 @@
     }
     $r->print('</font>');
     &Apache::lonhtmlcommon::store_recent('portfolio',$current_path,$current_path);
-    $r->print('<br /><form method=post action="/adm/portfolio">'.
+    $r->print('<br /><form method=post action="/adm/portfolio?mode='.$ENV{"form.mode"}.'&fieldname='.$ENV{"form.fieldname"}.'">'.
 	      &Apache::lonhtmlcommon::select_recent('portfolio','currentpath',
 						    'this.form.submit();'));
     $r->print("</form>");