[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
www
www at source.lon-capa.org
Mon Nov 7 11:09:10 EST 2011
www Mon Nov 7 16:09:10 2011 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Fix "Return to editing" link
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.606 loncom/interface/lonprintout.pm:1.607
--- loncom/interface/lonprintout.pm:1.606 Mon Nov 7 16:00:17 2011
+++ loncom/interface/lonprintout.pm Mon Nov 7 16:09:09 2011
@@ -2,7 +2,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.606 2011/11/07 16:00:17 www Exp $
+# $Id: lonprintout.pm,v 1.607 2011/11/07 16:09:09 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3113,12 +3113,7 @@
my $URLback=''; #link to original document
if ($helper->{'VARS'}->{'construction'} eq '1') {
- #prints resource from the construction space
- $URLback='/'.$helper->{'VARS'}->{'filename'};
- if ($URLback=~/([^?]+)/) {
- $URLback=$1;
- $URLback=~s|^/~|/priv/|;
- }
+ $URLback=$helper->{'VARS'}->{'filename'};
}
#
# Final adjustment of the font size:
More information about the LON-CAPA-cvs
mailing list