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:
magdmartin 2015-09-20 09:17:51 -04:00
commit 7f79b08445

View File

@ -175,7 +175,9 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
cluster.value = 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;
};
for (var c = 0; c < choices.length; c++) {