Fixed minor bug in cell UI that prevented single recon judgment operation from updating the UI.
Minor optimization: inject main table into the DOM only after it's completely built. git-svn-id: http://google-refine.googlecode.com/svn/trunk@204 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
1d6db8fa6e
commit
4d893271ca
@ -233,7 +233,7 @@ DataTableCellUI.prototype._postProcessOneCell = function(command, params, column
|
||||
{ columnStatsChanged: columnStatsChanged },
|
||||
{
|
||||
onDone: function(o) {
|
||||
self._cell = data.cell;
|
||||
self._cell = o.cell;
|
||||
self._render();
|
||||
}
|
||||
}
|
||||
|
@ -85,8 +85,7 @@ DataTableView.prototype.render = function() {
|
||||
var table = document.createElement("table");
|
||||
$(table)
|
||||
.attr("cellspacing", "0")
|
||||
.addClass("data-table")
|
||||
.appendTo(tableDiv);
|
||||
.addClass("data-table");
|
||||
|
||||
var columns = theProject.columnModel.columns;
|
||||
var columnGroups = theProject.columnModel.columnGroups;
|
||||
@ -258,6 +257,11 @@ DataTableView.prototype.render = function() {
|
||||
}
|
||||
renderRow(tr, r, row, even);
|
||||
}
|
||||
|
||||
/*
|
||||
* Finally, inject the table into the DOM
|
||||
*/
|
||||
$(table).appendTo(tableDiv);
|
||||
};
|
||||
|
||||
DataTableView.prototype._showRows = function(start, onDone) {
|
||||
|
Loading…
Reference in New Issue
Block a user