Merge pull request #1251 from OpenRefine/issue1106
Fix overflow of history items outside the window.
This commit is contained in:
commit
9f62905be4
@ -153,12 +153,8 @@ function initializeUI(uiState) {
|
|||||||
ui.historyPanel = new HistoryPanel(ui.historyPanelDiv, ui.historyTabHeader);
|
ui.historyPanel = new HistoryPanel(ui.historyPanelDiv, ui.historyTabHeader);
|
||||||
ui.dataTableView = new DataTableView(ui.viewPanelDiv);
|
ui.dataTableView = new DataTableView(ui.viewPanelDiv);
|
||||||
|
|
||||||
ui.leftPanelTabs.bind('tabsshow', function(event, tabs) {
|
ui.leftPanelTabs.bind('tabsactivate', function(event, tabs) {
|
||||||
if (tabs.index === 0) {
|
tabs.newPanel.resize();
|
||||||
ui.browsingEngine.resize();
|
|
||||||
} else if (tabs.index === 1) {
|
|
||||||
ui.historyPanel.resize();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).bind("resize", resizeAll);
|
$(window).bind("resize", resizeAll);
|
||||||
|
Loading…
Reference in New Issue
Block a user