diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-05-22 10:37:17 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-05-22 10:37:17 +0300 |
commit | de8924262e12fbaed9726e06aff6e1df1dea929f (patch) | |
tree | 3c5c245f25ed8903759f1cce4a303e3b7f043114 /js/sql.js | |
parent | 0ac438a081de1edd9a6255a0d2148cde07e3770b (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.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 () { |