--- loncom/interface/lonhtmlcommon.pm 2012/11/27 23:45:08 1.332 +++ loncom/interface/lonhtmlcommon.pm 2012/11/29 20:13:43 1.333 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.332 2012/11/27 23:45:08 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.333 2012/11/29 20:13:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1933,14 +1933,18 @@ sub docs_breadcrumbs { 'no_mt' => 1, }); } + if ($title) { + push(@docs_crumbs, + {'title' => $title, + 'text' => $title, + 'no_mt' => 1,} + ); + } if (wantarray) { unless ($precleared) { &clear_breadcrumbs(); } &add_breadcrumb(@docs_crumbs); - if ($title) { - &add_breadcrumb({text => $title}); - } if ($contenteditor) { $plain=~s/\>\;\s*$//; }