--- loncom/publisher/publisher.html 2003/09/11 21:02:38 1.33 +++ loncom/publisher/publisher.html 2003/11/21 21:07:38 1.34 @@ -51,7 +51,7 @@ function getrfilename() { function getactionfilename() { document.fileaction.filename.value=frameloc(); var test=document.fileaction.action.selectedIndex; - if (test == 4) { // trying to create a directory + if (test == 8) { // trying to create a directory if (document.fileaction.filename.value.indexOf('/adm/pubdir')!=-1) { document.fileaction.filename.value=document.dpublisher.filename.value; }