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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-02-16 09:43:02 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-02-16 09:43:02 +0300
commitb15d9c5136099d2c28c94fd76a3550f8dc9a519f (patch)
tree6e0a92b58ce330f53f0b6730bdc5f8dd01bcecca /js/export.js
parent048c54db49a4965cf4333de9a2363275c1206a55 (diff)
Properly align jQuery dialog
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/export.js')
-rw-r--r--js/export.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/export.js b/js/export.js
index b36ef6383d..09b20cd330 100644
--- a/js/export.js
+++ b/js/export.js
@@ -323,6 +323,7 @@ function createAliasModal(event) {
$('#alias_modal input[type="text"]').prop('disabled', false);
$('#alias_modal').dialog({
width: Math.min($(window).width() - 100, 700),
+ maxHeight: $(window).height(),
modal: true,
dialogClass: "alias-dialog",
buttons: dlgButtons,
@@ -342,7 +343,7 @@ function createAliasModal(event) {
});
$('input#btn_alias_config').prop('checked', !isEmpty);
},
- position: 'center'
+ position: { my: "center top", at: "center top", of: window }
});
// Call change event of .table_alias_select
$('.table_alias_select:visible').trigger('change');