[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn at source.lon-capa.org
Sun May 19 11:33:55 EDT 2013
raeburn Sun May 19 15:33:55 2013 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Single quotes added to argument in call to javascript function in href
attribute so "Exit Editor" tab item will also work from "History" display.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.545 loncom/interface/londocs.pm:1.546
--- loncom/interface/londocs.pm:1.545 Thu May 9 05:29:29 2013
+++ loncom/interface/londocs.pm Sun May 19 15:33:54 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.545 2013/05/09 05:29:29 raeburn Exp $
+# $Id: londocs.pm,v 1.546 2013/05/19 15:33:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2330,7 +2330,7 @@
my $jumpto;
unless ($supplementalflag) {
- $jumpto = "'uploaded/$coursedom/$coursenum/$folder.$container'";
+ $jumpto = "uploaded/$coursedom/$coursenum/$folder.$container";
}
unless ($allowed) {
@@ -5235,7 +5235,7 @@
$form = '<div class="LC_Box" style="margin:0;">'.
'<ul id="navigation'.$tid.'" class="LC_TabContent">'."\n".
'<li class="goback">'.
- '<a href="javascript:toContents('.$jumpto.');">'.
+ '<a href="javascript:toContents('."'$jumpto'".');">'.
'<img src="'.$backicon.'" class="LC_icon" style="border: none; vertical-align: top;"'.
' alt="'.$backtext.'" />'.$backtext.'</a></li>'."\n".
'<li>'.
More information about the LON-CAPA-cvs
mailing list