Fixed "More" dropdown on tbl_structure.php
This commit is contained in:
parent
7356b407ad
commit
018d75e1db
@ -145,6 +145,7 @@ var AJAX = {
|
||||
|
||||
responseHandler: function (data) {
|
||||
if (data.success) {
|
||||
$table_clone = false;
|
||||
PMA_ajaxRemoveMessage(AJAX.$msgbox);
|
||||
|
||||
if (data._redirect) {
|
||||
@ -185,7 +186,6 @@ var AJAX = {
|
||||
}
|
||||
|
||||
$('body').children().not('#pma_navigation').not('#floating_menubar').not('#page_content').not('#selflink').remove();
|
||||
|
||||
$('#page_content').replaceWith("<div id='page_content'>" + data.message + "</div>");
|
||||
if (data.sql_query) {
|
||||
var $sql = $(data.sql_query);
|
||||
|
||||
@ -4,6 +4,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var $table_clone reference to the action links on the tbl_structure page
|
||||
*/
|
||||
var $table_clone = false;
|
||||
|
||||
/**
|
||||
* @var sql_box_locked lock for the sqlbox textarea in the querybox/querywindow
|
||||
*/
|
||||
|
||||
@ -353,9 +353,6 @@ function reloadFieldForm(message) {
|
||||
* with the word "More". They are displayed in a dropdown
|
||||
* menu when the user hovers over the word "More."
|
||||
*/
|
||||
|
||||
var $table_clone = false;
|
||||
|
||||
function moreOptsMenuResize() {
|
||||
var $table = $("table#tablestructure");
|
||||
|
||||
@ -387,7 +384,9 @@ function moreOptsMenuResize() {
|
||||
};
|
||||
|
||||
// get window width
|
||||
var window_width = $(window).width();
|
||||
var window_width = $(window).width()
|
||||
- $('#pma_navigation').width()
|
||||
- $('#pma_navigation_resizer').width();
|
||||
|
||||
// find out maximum action links width
|
||||
var max_width = window_width;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user