--- loncom/publisher/publisher.html 2001/06/24 01:40:14 1.13
+++ loncom/publisher/publisher.html 2002/12/26 15:38:54 1.23
@@ -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() {
@@ -68,58 +69,82 @@ function getnewdirfilename() {
}
}
+function getpostdata() {
+ document.printout.postdata.value=parent.LONCAPAToBePublished.location.href;
+ document.printout.submit();
+}
-
-