--- loncom/interface/londocs.pm 2017/05/10 21:24:23 1.484.2.71 +++ loncom/interface/londocs.pm 2017/08/31 20:06:36 1.484.2.73 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.484.2.71 2017/05/10 21:24:23 raeburn Exp $ +# $Id: londocs.pm,v 1.484.2.73 2017/08/31 20:06:36 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3968,7 +3968,7 @@ $form_end; $line.=&Apache::loncommon::modal_link($link,$title,600,500); } } elsif (($hiddenfolder) || ($hiddenres)) { - $line.=$title.' '.&mt('(Hidden)').''; + $line.=$title.' ('.&mt('Hidden').')'; } else { $line.=$title.' '.$reinit.''; } @@ -5112,6 +5112,7 @@ sub handler { undef($hadchanges); $uploadphase = &process_file_upload(\$upload_output,$coursenum,$coursedom, \%allfiles,\%codebase,$context,$crstype); + undef($navmap); if ($hadchanges) { &mark_hash_old(); } @@ -5632,8 +5633,11 @@ unless ($container eq 'page') { if ($error) { $r->print('

'.$error.'

'); } + unless (&is_hash_old()) { if ($hadchanges) { - &mark_hash_old(); + unless (&is_hash_old()) { + &mark_hash_old(); + } } &changewarning($r,'');