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>2011-11-01 01:12:58 +0400
committerRouslan Placella <rouslan@placella.com>2011-11-01 02:03:44 +0400
commit860586e3b2178080c26c92dacc046ad63ea616d5 (patch)
treee516a9830ebb61df0759a11a4f95dab1cdbced2b /js/db_operations.js
parentf6dd17bb94e041f0913dd594bf54f43662aa6b83 (diff)
Stick table tools to top of page on scroll
Diffstat (limited to 'js/db_operations.js')
-rw-r--r--js/db_operations.js8
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);