[metacat-cvs] metacat/lib/style/common/templates entryForm.tmpl

Saurabh Garg sgarg at ecoinformatics.org
Tue Nov 29 14:46:21 PST 2005


sgarg       05/11/29 14:46:21

  Modified:    lib/style/common/templates entryForm.tmpl
  Log:
  Fixed a bug in the way taxon rank and taxon value were assigned.
  
  Revision  Changes    Path
  1.54      +2 -2      metacat/lib/style/common/templates/entryForm.tmpl
  
  Index: entryForm.tmpl
  ===================================================================
  RCS file: /cvs/metacat/lib/style/common/templates/entryForm.tmpl,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- entryForm.tmpl	25 Oct 2005 00:09:59 -0000	1.53
  +++ entryForm.tmpl	29 Nov 2005 22:46:21 -0000	1.54
  @@ -515,7 +515,7 @@
               
               var taxonCount = incrementCount("taxaCount");
   
  -            var row = createTaxonRow(taxonCount, taxonName.value, taxonRank.value);
  +            var row = createTaxonRow(taxonCount, taxonRank.value, taxonName.value);
               var taxonRowMarker = document.getElementById("addtaxarow");
               var parent = taxonRowMarker.parentNode;
               
  @@ -549,7 +549,7 @@
           }
   
           
  -        var text = "Rank: " + taxonName + ", Name: " + taxonRank;
  +        var text = "Rank: " + taxonRank + ", Name: " + taxonName;
           var label = document.createTextNode(text);
   
           labelTD.appendChild(label);
  
  
  


More information about the Metacat-cvs mailing list