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:
authorRouslan Placella <rouslan@placella.com>2012-11-24 03:17:22 +0400
committerRouslan Placella <rouslan@placella.com>2012-11-24 03:17:22 +0400
commit83948bac96a36a74936d05e4ea991515a7815b3b (patch)
treebec2f2cfae2b8b5ef64794d52261848bd8a7fdcd /js/server_plugins.js
parentda4196f03f889614f6cf4d1926eeb74ea9a61677 (diff)
Pass the container to the menu functions instead of hard coding
Diffstat (limited to 'js/server_plugins.js')
-rw-r--r--js/server_plugins.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/server_plugins.js b/js/server_plugins.js
index 05eeef22b0..d87a4ce911 100644
--- a/js/server_plugins.js
+++ b/js/server_plugins.js
@@ -2,7 +2,6 @@
/**
* Functions used in server plugins pages
*/
-
var pma_theme_image; // filled in server_plugins.php
AJAX.registerOnload('server_plugins.js', function() {
@@ -12,7 +11,7 @@ AJAX.registerOnload('server_plugins.js', function() {
cookie: { name: 'pma_serverStatusTabs', expires: 1 },
show: function(event, ui) {
// Fixes line break in the menu bar when the page overflows and scrollbar appears
- menuResize();
+ menuResize($('#topmenu'));
// 'Plugins' tab is too high due to hiding of 'Modules' by negative left position,
// hide tabs by changing display to fix it
$(ui.panel).closest('.ui-tabs').find('> div').not(ui.panel).css('display', 'none');