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:37:17 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-05-22 10:37:17 +0300
commitde8924262e12fbaed9726e06aff6e1df1dea929f (patch)
tree3c5c245f25ed8903759f1cce4a303e3b7f043114 /js/sql.js
parent0ac438a081de1edd9a6255a0d2148cde07e3770b (diff)
bug Browse foreigners window goes out of the window
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 a37e678f5a..c55b0fa573 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -617,6 +617,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
@@ -626,9 +627,6 @@ function browseForeignDialog($this_a)
// remove dialog itself
$(this).remove();
},
- create: function () {
- $(this).css('maxHeight', $(window).height() - 100);
- },
modal: true
});
}).done(function () {