[LON-CAPA-cvs] cvs: loncom /publisher publisher.html

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 21 Nov 2003 21:07:38 -0000


albertel		Fri Nov 21 16:07:38 2003 EDT

  Modified files:              
    /loncom/publisher	publisher.html 
  Log:
  - test was looking at wrong action
  
  
Index: loncom/publisher/publisher.html
diff -u loncom/publisher/publisher.html:1.33 loncom/publisher/publisher.html:1.34
--- loncom/publisher/publisher.html:1.33	Thu Sep 11 17:02:38 2003
+++ loncom/publisher/publisher.html	Fri Nov 21 16:07:38 2003
@@ -51,7 +51,7 @@
 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;
       }