Rename chkb to text

Jessica B. Hamrick 12 years ago
parent c3c11e5820
commit 3aada4008c

@ -367,13 +367,13 @@ define([
return function(div, cell, celltoolbar) {
var button_container = $(div);
var chkb = $('<input/>').attr('type', 'text');
var text = $('<input/>').attr('type', 'text');
var lbl = $('<label/>').append($('<span/>').text(name));
lbl.append(chkb);
chkb.attr("value", getter(cell));
lbl.append(text);
text.attr("value", getter(cell));
chkb.keyup(function(){
setter(cell, chkb.val());
text.keyup(function(){
setter(cell, text.val());
});
button_container.append($('<span/>').append(lbl));
};

Loading…
Cancel
Save