diff options
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 () { |