fix issue #1060 to skip the checkbox deselect when clicking on the clustering text candidate
This commit is contained in:
parent
ee38f9edde
commit
2c48a56c3b
@ -175,7 +175,9 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
|
|||||||
cluster.value = value;
|
cluster.value = value;
|
||||||
|
|
||||||
parent.find("input[type='text']").val(value);
|
parent.find("input[type='text']").val(value);
|
||||||
parent.find("input[type='checkbox']").attr('checked', true).change();
|
var checkbox = parent.find("input[type='checkbox']");
|
||||||
|
if (!checkbox.attr('checked'))
|
||||||
|
checkbox.attr('checked', true).change();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
for (var c = 0; c < choices.length; c++) {
|
for (var c = 0; c < choices.length; c++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user