Process widget was causing the UI to get rendered twice at start-up.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@75 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
b7cf18b86a
commit
402858a784
@ -1,6 +1,7 @@
|
||||
function ProcessWidget(div) {
|
||||
this._div = div;
|
||||
this._timerID = null;
|
||||
this._processCount = 0;
|
||||
this.update();
|
||||
}
|
||||
|
||||
@ -28,10 +29,15 @@ ProcessWidget.prototype._render = function() {
|
||||
if (this._data.processes.length == 0) {
|
||||
this._div.hide();
|
||||
|
||||
if (this._processCount > 0) {
|
||||
this._processCount = 0;
|
||||
|
||||
ui.historyWidget.update();
|
||||
ui.dataTableView.update(true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
this._processCount = this._data.processes.length;
|
||||
|
||||
this._div.show();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user