Project

General

Profile

« Previous | Next » 

Revision 2850

Added by sgarg about 19 years ago

fixed a bug in the taxon part of the form

View differences:

lib/style/common/templates/entryForm.tmpl
1779 1779
                        onClick="delRow(event)" alt="Delete" border="0"/>
1780 1780
                    </a>
1781 1781
                </td>
1782
                [% SET trn = "taxonRankName${cnt}" %]
1783
                [% SET trv = "taxonRankValue${cnt}" %]
1782
                [% SET rank = "taxonRankName${cnt}" %]
1783
                [% SET name = "taxonRankValue${cnt}" %]
1784 1784
                <td colspan="5" align ="left" style="cursor:pointer"
1785
                    onClick="taxonEditRow(event, 0, '[%$trn%]', '[%$trv%]')">
1786
                    Rank: [%$trn%], Name: [%$trv%]
1787
                    <input name="taxonName" type="hidden" value="[%$trn%]"/>
1788
                    <input name="taxonRank" type="hidden" value="[%$trv%]"/>
1785
                    onClick="taxonEditRow(event, 0, '[%$rank%]', '[%$name%]')">
1786
                    Rank: [%$rank%], Name: [%$name%]
1787
                    <input name="taxonName" type="hidden" value="[%$name%]"/>
1788
                    <input name="taxonRank" type="hidden" value="[%$rank%]"/>
1789 1789
                </td>
1790 1790
            </tr>
1791 1791
            [% cnt = cnt + 1 %]

Also available in: Unified diff