--- loncom/publisher/publisher.html 2001/06/24 01:40:14 1.13
+++ loncom/publisher/publisher.html 2001/06/24 17:27:38 1.14
@@ -23,9 +23,10 @@ function getdfilename() {
function getufilename() {
document.upublisher.filename.value=parent.LONCAPAToBePublished.location.href;
- if (document.upublisher.filename.value.indexOf('/adm/pubdir')==-1) {
- document.upublisher.submit();
+ if (document.upublisher.filename.value.indexOf('/adm/pubdir')!=-1) {
+ document.upublisher.filename.value=document.dpublisher.filename.value;
}
+ document.upublisher.submit();
}
function getrfilename() {