--- loncom/interface/londocs.pm 2017/08/27 02:36:49 1.637 +++ loncom/interface/londocs.pm 2017/08/28 03:57:04 1.638 @@ -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.638 2017/08/28 03:57:04 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(); } @@ -6476,9 +6477,11 @@ unless ($container eq 'page') { if ($error) { $r->print('

'.$error.'

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