Fixed bug: Sorting radio buttons in all list facets were sharing the same name.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1056 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-06-30 17:45:39 +00:00
parent 2adc0ad1db
commit a1ae492a4d

View File

@ -128,8 +128,8 @@ ListFacet.prototype._initializeUI = function() {
'<div class="facet-controls" bind="controlsDiv" style="display:none;"><div class="grid-layout layout-tightest layout-full">' + '<div class="facet-controls" bind="controlsDiv" style="display:none;"><div class="grid-layout layout-tightest layout-full">' +
'<table><tr>' + '<table><tr>' +
'<td><a bind="choiceCountContainer" class="action" href="javascript:{}"></a> <span bind="sortGroup">sorted by ' + '<td><a bind="choiceCountContainer" class="action" href="javascript:{}"></a> <span bind="sortGroup">sorted by ' +
'<input bind="sortByNameLink" type="radio" id="' + facet_id + '-name-sort" name="radio" checked="checked" /><label for="' + facet_id + '-name-sort">name</label>' + '<input bind="sortByNameLink" type="radio" id="' + facet_id + '-name-sort" name="' + facet_id + '-sort-radio" checked="checked" /><label for="' + facet_id + '-name-sort">name</label>' +
'<input bind="sortByCountLink" type="radio" id="' + facet_id + '-count-sort" name="radio" /><label for="' + facet_id + '-count-sort">count</label>' + '<input bind="sortByCountLink" type="radio" id="' + facet_id + '-count-sort" name="' + facet_id + '-sort-radio" /><label for="' + facet_id + '-count-sort">count</label>' +
'</span></td>' + '</span></td>' +
'<td width="1%" nowrap=""><button bind="clusterLink">cluster</button></td>' + '<td width="1%" nowrap=""><button bind="clusterLink">cluster</button></td>' +
'</tr></table>' + '</tr></table>' +