Show More
@@ -367,13 +367,13 define([ | |||
|
367 | 367 | return function(div, cell, celltoolbar) { |
|
368 | 368 | var button_container = $(div); |
|
369 | 369 | |
|
370 |
var |
|
|
370 | var text = $('<input/>').attr('type', 'text'); | |
|
371 | 371 | var lbl = $('<label/>').append($('<span/>').text(name)); |
|
372 |
lbl.append( |
|
|
373 |
|
|
|
372 | lbl.append(text); | |
|
373 | text.attr("value", getter(cell)); | |
|
374 | 374 | |
|
375 |
|
|
|
376 |
setter(cell, |
|
|
375 | text.keyup(function(){ | |
|
376 | setter(cell, text.val()); | |
|
377 | 377 | }); |
|
378 | 378 | button_container.append($('<span/>').append(lbl)); |
|
379 | 379 | }; |
General Comments 0
You need to be logged in to leave comments.
Login now