Add type to text input field - fixes #706

Even though type="text" is the default, the find won't work without it
explicitly included
This commit is contained in:
Tom Morris 2013-04-13 17:04:03 -04:00
parent 0d2881dac6
commit d1b2dc3fe9

View File

@ -153,7 +153,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
cluster.value = value;
parent.find("input[type='text']").val(value);
parent.find("input:not(:checked)").attr('checked', true).change();
parent.find("input[type='checkbox']").attr('checked', true).change();
return false;
};
for (var c = 0; c < choices.length; c++) {
@ -202,7 +202,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
editCheck.attr("checked", "true");
}
var input = $('<input size="25" />')
var input = $('<input type="text" size="25" />')
.attr("value", cluster.value)
.keyup(function() {
cluster.value = this.value;