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:
parent
0d2881dac6
commit
d1b2dc3fe9
@ -153,7 +153,7 @@ 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:not(:checked)").attr('checked', true).change();
|
parent.find("input[type='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++) {
|
||||||
@ -202,7 +202,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
|
|||||||
editCheck.attr("checked", "true");
|
editCheck.attr("checked", "true");
|
||||||
}
|
}
|
||||||
|
|
||||||
var input = $('<input size="25" />')
|
var input = $('<input type="text" size="25" />')
|
||||||
.attr("value", cluster.value)
|
.attr("value", cluster.value)
|
||||||
.keyup(function() {
|
.keyup(function() {
|
||||||
cluster.value = this.value;
|
cluster.value = this.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user