diff options
author | Rouslan Placella <rouslan@placella.com> | 2011-11-01 01:12:58 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2011-11-01 02:03:44 +0400 |
commit | 860586e3b2178080c26c92dacc046ad63ea616d5 (patch) | |
tree | e516a9830ebb61df0759a11a4f95dab1cdbced2b /js/db_operations.js | |
parent | f6dd17bb94e041f0913dd594bf54f43662aa6b83 (diff) |
Stick table tools to top of page on scroll
Diffstat (limited to 'js/db_operations.js')
-rw-r--r-- | js/db_operations.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/db_operations.js b/js/db_operations.js index b0536942c9..9776cefe4c 100644 --- a/js/db_operations.js +++ b/js/db_operations.js @@ -56,14 +56,14 @@ $(document).ready(function() { window.parent.db = data.newname; - $("#topmenucontainer") + $("#floating_menubar") .next('div') .remove() .end() .after(data.sql_query); //Remove the empty notice div generated due to a NULL query passed to PMA_showMessage() - var $notice_class = $("#topmenucontainer").next("div").find('.notice'); + var $notice_class = $("#floating_menubar").next("div").find('.notice'); if ($notice_class.text() == '') { $notice_class.remove(); } @@ -99,7 +99,7 @@ $(document).ready(function() { $('.success').fadeOut(); $('.error').fadeOut(); if(data.success == true) { - $('#topmenucontainer').after(data.message); + $('#floating_menubar').after(data.message); if( $("#checkbox_switch").is(":checked")) { window.parent.db = data.newname; window.parent.refreshMain(); @@ -112,7 +112,7 @@ $(document).ready(function() { } } else { - $('#topmenucontainer').after(data.error); + $('#floating_menubar').after(data.error); } PMA_ajaxRemoveMessage($msgbox); |