Revision 2786
Added by sgarg about 19 years ago
lib/style/common/templates/entryForm.tmpl | ||
---|---|---|
515 | 515 |
|
516 | 516 |
var taxonCount = incrementCount("taxaCount"); |
517 | 517 |
|
518 |
var row = createTaxonRow(taxonCount, taxonName.value, taxonRank.value);
|
|
518 |
var row = createTaxonRow(taxonCount, taxonRank.value, taxonName.value);
|
|
519 | 519 |
var taxonRowMarker = document.getElementById("addtaxarow"); |
520 | 520 |
var parent = taxonRowMarker.parentNode; |
521 | 521 |
|
... | ... | |
549 | 549 |
} |
550 | 550 |
|
551 | 551 |
|
552 |
var text = "Rank: " + taxonName + ", Name: " + taxonRank;
|
|
552 |
var text = "Rank: " + taxonRank + ", Name: " + taxonName;
|
|
553 | 553 |
var label = document.createTextNode(text); |
554 | 554 |
|
555 | 555 |
labelTD.appendChild(label); |
Also available in: Unified diff
Fixed a bug in the way taxon rank and taxon value were assigned.