Diff for /loncom/publisher/publisher.html between versions 1.38 and 1.40

version 1.38, 2004/04/15 19:32:37 version 1.40, 2005/03/10 03:50:49
Line 82  function getcurseed() { Line 82  function getcurseed() {
 }  }
   
 function getproblemtype() {  function getproblemtype() {
   if (parent.LONCAPAToBePublished.document.lonhomework) {    if (parent.LONCAPAToBePublished.document.lonhomework
      var optionelement;         &&
      var valueIndex=0;        parent.LONCAPAToBePublished.document.lonhomework.problemtype) {
      for (var optionIndex=0;      if (parent.LONCAPAToBePublished.document.lonhomework.problemtype.value) {
           optionIndex < parent.LONCAPAToBePublished.document.lonhomework.problemtype.options.length;        return parent.LONCAPAToBePublished.document.lonhomework.problemtype.value;
   optionIndex++)      }
      {      if (parent.LONCAPAToBePublished.document.lonhomework.problemtype.options) {
          optionElement=parent.LONCAPAToBePublished.document.lonhomework.problemtype.options[optionIndex];         var optionelement;
  if (optionElement.selected) {         var valueIndex=0;
     return optionElement.value;         for (var optionIndex=0;
          }                optionIndex < parent.LONCAPAToBePublished.document.lonhomework.problemtype.options.length;
      }        optionIndex++)
          {
              optionElement=parent.LONCAPAToBePublished.document.lonhomework.problemtype.options[optionIndex];
      if (optionElement.selected) {
         return optionElement.value;
              }  
          }  
       }
   }    }
   return 0;    return 0;
 }  }
Line 167  function getpostdata() { Line 174  function getpostdata() {
                             <option value="newsequencefile">MT{New assembled sequence}:</option>                              <option value="newsequencefile">MT{New assembled sequence}:</option>
                             <option value="newrightsfile">MT{New custom rights file}:</option>                              <option value="newrightsfile">MT{New custom rights file}:</option>
                             <option value="newstyfile">MT{New style file}:</option>                              <option value="newstyfile">MT{New style file}:</option>
                               <option value="newlibraryfile">MT{New library file}:</option>
     <option value="newdir">MT{New subdirectory}:</option>      <option value="newdir">MT{New subdirectory}:</option>
     <option value="rename">MT{Rename current file to}:</option>      <option value="rename">MT{Rename current file to}:</option>
     <option value="move">MT{Move current file to}:</option>      <option value="move">MT{Move current file to}:</option>

Removed from v.1.38  
changed lines
  Added in v.1.40


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>