[LON-CAPA-cvs] cvs: loncom /homework daxepage.pm

raeburn raeburn at source.lon-capa.org
Wed Apr 17 10:15:45 EDT 2024


raeburn		Wed Apr 17 14:15:45 2024 EDT

  Modified files:              
    /loncom/homework	daxepage.pm 
  Log:
  - Clear breadcrumbs for page containing Daxe Editor iframe.  
  
  
Index: loncom/homework/daxepage.pm
diff -u loncom/homework/daxepage.pm:1.15 loncom/homework/daxepage.pm:1.16
--- loncom/homework/daxepage.pm:1.15	Sun Apr 14 17:12:28 2024
+++ loncom/homework/daxepage.pm	Wed Apr 17 14:15:45 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Page with Daxe on the left side and the preview on the right side
 #
-# $Id: daxepage.pm,v 1.15 2024/04/14 17:12:28 raeburn Exp $
+# $Id: daxepage.pm,v 1.16 2024/04/17 14:15:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,7 +60,6 @@
                     $is_supp = 1;
                     $supp_path = &escape(&HTML::Entities::decode($Apache::lonnet::env{'form.folderpath'}));
                     $supp_title = &escape(&HTML::Entities::decode($Apache::lonnet::env{'form.title'}));
-                    &Apache::lonhtmlcommon::clear_breadcrumbs();
                 }
                 $is_course_doc = 1;
                 $Apache::lonnet::env{'form.forceedit'} = 1;
@@ -86,6 +85,7 @@
         delete($editors{'xml'});
         $editors{'edit'} = 1;
     }
+    &Apache::lonhtmlcommon::clear_breadcrumbs();
     my %lt = &Apache::lonlocal::texthash(
                                           'noif' => 'No iframe support.',
                                           'show' => 'Show content in pop-up window',




More information about the LON-CAPA-cvs mailing list