mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #4614: Fix viewport overflow when datatable has advanced search
(cherry picked from commit 13343e7f22d8108fde1d9768edf35a4b32d636e7)
This commit is contained in:
parent
b3cf34c285
commit
44d86bb14c
@ -279,6 +279,12 @@ define(function(require) {
|
||||
}
|
||||
|
||||
Foundation.reflow($('#' + this.dataTableId + 'Search-dropdown'), 'dropdown');
|
||||
|
||||
// For some reason the dropdown forces horizontal and vertical scrollbars,
|
||||
// and breaks the full-screen modal positioning (VNC). It gets fixed once
|
||||
// the dropdown is shown+hidden, so we force it now
|
||||
$('#' + this.dataTableId + 'Search-wrapper button.search-dropdown').click();
|
||||
$('#' + this.dataTableId + 'Search-wrapper button.search-dropdown').click();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user