Add check when there is no #pma_navigation_tree_content
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
This commit is contained in:
parent
9e5602eb37
commit
cc7957fac3
@ -890,6 +890,11 @@ var ResizeHandler = function () {
|
||||
$nav_tree.height($nav.height() - $nav_header.height());
|
||||
if ($nav_tree_content.length > 0) {
|
||||
$nav_tree_content.height($nav_tree.height() - $nav_tree_content.position().top);
|
||||
} else {
|
||||
//TODO: in fast filter search response there is no #pma_navigation_tree_content, needs to be added in php
|
||||
$nav_tree.css({
|
||||
'overflow-y': 'auto'
|
||||
});
|
||||
}
|
||||
};
|
||||
/* Initialisation section begins here */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user