--- loncom/interface/londocs.pm 2017/08/27 02:36:49 1.637 +++ loncom/interface/londocs.pm 2017/08/31 20:02:35 1.639 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.637 2017/08/27 02:36:49 raeburn Exp $ +# $Id: londocs.pm,v 1.639 2017/08/31 20:02:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5678,6 +5678,7 @@ sub handler { undef($hadchanges); $uploadphase = &process_file_upload(\$upload_output,$coursenum,$coursedom, \%allfiles,\%codebase,$context,$crstype); + undef($navmap); if ($hadchanges) { &mark_hash_old(); } @@ -6477,8 +6478,10 @@ unless ($container eq 'page') { $r->print('

'.$error.'

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