--- loncom/interface/londocs.pm 2003/05/21 00:48:27 1.56 +++ loncom/interface/londocs.pm 2003/05/29 01:26:33 1.57 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.56 2003/05/21 00:48:27 www Exp $ +# $Id: londocs.pm,v 1.57 2003/05/29 01:26:33 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -619,7 +619,7 @@ function changename(folder,index,oldtitl } function removeres(folder,index,oldtitle) { - if (confirm('Remove "'+oldtitle+'"?')) { + if ((oldtitle=='NO RESOURCE') || (confirm('Remove "'+oldtitle+'"?'))) { this.document.forms.renameform.cmd.value='del_'+index; this.document.forms.renameform.folder.value=folder; this.document.forms.renameform.submit();