version 1.12, 2001/06/23 18:51:32
|
version 1.14, 2001/06/24 17:27:38
|
Line 23 function getdfilename() {
|
Line 23 function getdfilename() {
|
|
|
function getufilename() { |
function getufilename() { |
document.upublisher.filename.value=parent.LONCAPAToBePublished.location.href; |
document.upublisher.filename.value=parent.LONCAPAToBePublished.location.href; |
if (document.upublisher.filename.value.indexOf('/adm/pubdir')==-1) { |
if (document.upublisher.filename.value.indexOf('/adm/pubdir')!=-1) { |
document.upublisher.submit(); |
document.upublisher.filename.value=document.dpublisher.filename.value; |
} |
} |
|
document.upublisher.submit(); |
} |
} |
|
|
function getrfilename() { |
function getrfilename() { |
Line 55 function getcpfilename() {
|
Line 56 function getcpfilename() {
|
} |
} |
|
|
function getnewdirfilename() { |
function getnewdirfilename() { |
document.newdir.filename.value=parent.LONCAPAToBePublished.location.href; |
document.newdir.filename.value=parent.LONCAPAToBePublished.location.href; |
|
if (document.newdir.filename.value.indexOf('/adm/pubdir')!=-1) { |
|
document.newdir.filename.value=document.dpublisher.filename.value; |
|
} |
if ((document.newdir.filename.value.charAt( |
if ((document.newdir.filename.value.charAt( |
document.newdir.filename.value.length-1)!='/') && |
document.newdir.filename.value.length-1)!='/') && |
(document.newdir.filename.value.indexOf('/adm/pubdir')==-1)) { |
(document.newdir.filename.value.indexOf('/adm/pubdir')==-1)) { |