Merge pull request #1065 from RefinePro/issue-1060
fix issue #1060 to skip the checkbox deselect when clicking on the cl…
This commit is contained in:
commit
7f79b08445
@ -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