diff --git a/js/functions.js b/js/functions.js index b8db5151ef..f9a249488c 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1511,12 +1511,17 @@ function PMA_createTableDialog( div, url , target) .append(data) .dialog({ title: PMA_messages['strCreateTable'], - height: 600, - width: 900, + /* + * Use a little less than the current value, otherwise there is i + * some overlap; 16 is a value found by experimenting + */ + height: $(window.document).height() - 16, + width: $(window.document).width() - 16, open: PMA_verifyTypeOfAllColumns, buttons : button_options }); // end dialog options } + PMA_convertFootnotesToTooltips($(div)); PMA_ajaxRemoveMessage($msgbox); }) // end $.get() diff --git a/js/navigation.js b/js/navigation.js index 724d9f9d9b..af5146acd8 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -229,8 +229,12 @@ $(document).ready(function(){ var div = parent.frame_content.$('
'); var target = "tbl_create.php"; - /*Calling to the createTableDialog function*/ - PMA_createTableDialog(div , url , target); + /* + * Calling to the createTableDialog function + * (needs to be done in the context of frame_content in order + * for the qtip tooltips to work) + * */ + parent.frame_content.PMA_createTableDialog(div , url , target); });//end of create new table });//end of document get ready diff --git a/navigation.php b/navigation.php index 300bdb592d..126b00d208 100644 --- a/navigation.php +++ b/navigation.php @@ -107,6 +107,7 @@ require_once './libraries/header_http.inc.php';