diff --git a/ChangeLog b/ChangeLog index 0154941d91..06835f27ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog - bug #4893 Nav tree line alignment issue - bug #4911 Lock page icon is not shown after fresh reload - bug #4912 "Highlight pointer" and "Row marker" doesn't work properly +- bug Browse foreigners window goes out of the window 4.4.7.0 (2015-05-16) - bug #4876 Settings issues (Favorite tables shown twice in Settings) 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 = $('
').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 () {