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

raeburn raeburn at source.lon-capa.org
Mon Jun 4 12:59:01 EDT 2012


raeburn		Mon Jun  4 16:59:01 2012 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  - Bug 1320. Show "return to last location" link from Authoring Space when
    "Edit" icon/link was used in course.
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.317 loncom/interface/lonhtmlcommon.pm:1.318
--- loncom/interface/lonhtmlcommon.pm:1.317	Tue May 29 01:11:30 2012
+++ loncom/interface/lonhtmlcommon.pm	Mon Jun  4 16:59:00 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.317 2012/05/29 01:11:30 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.318 2012/06/04 16:59:00 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1453,7 +1453,7 @@
 
     unless ($env{'request.course.id'}) { return 0; }
     if ($env{'request.noversionuri'}=~m{^/priv/} ||
-        $env{'request.uri'}=~m{^/~}) { return 1; }
+        $env{'request.uri'}=~m{^/priv/}) { return 1; }
 
     if (($env{'request.noversionuri'} =~ m{^/adm/(viewclasslist|navmaps)($|\?)})
         || ($env{'request.noversionuri'} =~ m{^/adm/.*/aboutme($|\?)})) {




More information about the LON-CAPA-cvs mailing list