version 1.12, 2001/06/23 18:51:32
|
version 1.13, 2001/06/24 01:40:14
|
Line 55 function getcpfilename() {
|
Line 55 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)) { |