--- loncom/interface/lonhtmlcommon.pm 2022/09/19 19:38:49 1.358.2.19.2.4 +++ loncom/interface/lonhtmlcommon.pm 2023/01/21 21:20:54 1.358.2.19.2.5 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.358.2.19.2.4 2022/09/19 19:38:49 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.358.2.19.2.5 2023/01/21 21:20:54 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2148,8 +2148,10 @@ sub docs_breadcrumbs { # each of randompick number, hidden, encrypted, random order, is_page # are appended with ":"s to the foldername $name=~s/\:(\d*)\:(\w*)\:(\w*):(\d*)\:?(\d*)$//; - unless ($supplementalflag) { - if ($contenteditor) { + if ($contenteditor) { + if ($supplementalflag) { + if ($2) { $ishidden=1; } + } else { if ($1 ne '') { $randompick=$1; } else {