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

raeburn raeburn at source.lon-capa.org
Thu Jan 11 20:54:57 EST 2018


raeburn		Fri Jan 12 01:54:57 2018 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - Display of 'Set alias' or "Unset alias' links in editor requires regexp 
    check of unmodified resource URL.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.649 loncom/interface/londocs.pm:1.650
--- loncom/interface/londocs.pm:1.649	Fri Dec 29 16:01:33 2017
+++ loncom/interface/londocs.pm	Fri Jan 12 01:54:56 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.649 2017/12/29 16:01:33 raeburn Exp $
+# $Id: londocs.pm,v 1.650 2018/01/12 01:54:56 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4402,7 +4402,7 @@
         $reinit = &mt('(re-initialize course to access)');
     }
     $line.='<td class="LC_docs_entry_commands"'.$tdalign.'><span class="LC_nobreak">'.$editlink.$renamelink;
-    if ($url =~ /$LONCAPA::assess_re/) {
+    if ($orig_url =~ /$LONCAPA::assess_re/) {
         $line.= '<br />';
         if ($curralias ne '') {
             $line.='<span class="LC_nobreak"><a href="javascript:delalias('."'$esc_path','$orderidx'".');" class="LC_docs_alias">'.




More information about the LON-CAPA-cvs mailing list