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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 29 May 2003 21:44:54 -0000


albertel		Thu May 29 17:44:54 2003 EDT

  Modified files:              
    /loncom/publisher	publisher.html 
  Log:
  - Fixes #1522, spaces in dirnames doesn't causes list directory to have issues
  
  
Index: loncom/publisher/publisher.html
diff -u loncom/publisher/publisher.html:1.27 loncom/publisher/publisher.html:1.28
--- loncom/publisher/publisher.html:1.27	Fri Mar  7 20:41:54 2003
+++ loncom/publisher/publisher.html	Thu May 29 17:44:53 2003
@@ -15,7 +15,7 @@
 }
 
 function getdfilename() {
-  document.dpublisher.filename.value=parent.LONCAPAToBePublished.location.href;
+  document.dpublisher.filename.value=unescape(parent.LONCAPAToBePublished.location.href);
   if (document.dpublisher.filename.value.indexOf('/adm/pubdir')==-1) {
       document.dpublisher.submit();
   }