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
path: root/js/sql.js
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-05-22 10:41:10 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-05-22 10:41:10 +0300
commitaeecb3e370a7e75c7b16b6b5cd5e98a83be16c27 (patch)
treea073a30d03d175f66fde7f2dd64c68c9d52cea6f /js/sql.js
parent7d6b3e5df5cb768f4d4ea48635a5c5013431a877 (diff)
parent1b5f0126f62ea38fb85a9fb8af971cf5c24aebd8 (diff)
Merge branch 'QA_4_4'
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/sql.js')
-rw-r--r--js/sql.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/sql.js b/js/sql.js
index 5523d648ef..d2258eaa83 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -643,6 +643,7 @@ function browseForeignDialog($this_a)
$dialog = $('<div>').append(data.message).dialog({
title: PMA_messages.strBrowseForeignValues,
width: Math.min($(window).width() - 100, 700),
+ maxHeight: $(window).height() - 100,
dialogClass: 'browse_foreign_modal',
close: function (ev, ui) {
// remove event handlers attached to elements related to dialog
@@ -652,9 +653,6 @@ function browseForeignDialog($this_a)
// remove dialog itself
$(this).remove();
},
- create: function () {
- $(this).css('maxHeight', $(window).height() - 100);
- },
modal: true
});
}).done(function () {