Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtul Pratap Singh <atulpratapsingh05@gmail.com>2014-04-28 00:26:00 +0400
committerAtul Pratap Singh <atulpratapsingh05@gmail.com>2014-04-28 00:33:43 +0400
commitad7c5bbbac9c2ffe8ea211fd5f77c6695790fa1c (patch)
treea4743439256050ec732cd3c72b32d9decf3ae2ef /js/navigation.js
parentfc2cd8f41b95de5b1f8b9067f30261ecd076d038 (diff)
Add check when there is no #pma_navigation_tree_content
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Diffstat (limited to 'js/navigation.js')
-rw-r--r--js/navigation.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/navigation.js b/js/navigation.js
index d7e4683f38..32b8519c0e 100644
--- a/js/navigation.js
+++ b/js/navigation.js
@@ -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 */