Merge pull request #1796 from OpenRefine/issue1774
Re-render table view when switching back from Wikidata schema.
This commit is contained in:
commit
fe6aef5290
@ -198,6 +198,10 @@ SchemaAlignmentDialog.switchTab = function(targetTab) {
|
|||||||
// Resize the inside of the schema panel
|
// Resize the inside of the schema panel
|
||||||
var headerHeight = this._schemaElmts.schemaHeader.outerHeight();
|
var headerHeight = this._schemaElmts.schemaHeader.outerHeight();
|
||||||
this._schemaElmts.canvas.height(panelHeight - headerHeight - 10);
|
this._schemaElmts.canvas.height(panelHeight - headerHeight - 10);
|
||||||
|
|
||||||
|
if (targetTab === "#view-panel") {
|
||||||
|
ui.dataTableView.render();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SchemaAlignmentDialog.isSetUp = function() {
|
SchemaAlignmentDialog.isSetUp = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user