Merge pull request #1344 from tudacs/master

Prevent backup-pop-up menu from top-values lower than 0 (hiding the top entries)
This commit is contained in:
Kenneth Skovhede
2015-04-09 09:57:28 +02:00
@@ -1296,6 +1296,9 @@ $(document).ready(function() {
if (top + menuheight > $(document).outerHeight())
top -= menuheight;
if (top < 0)
top = 0;
if (menu.is(':visible')) {
menu.css({
position: 'absolute',
@@ -2231,4 +2234,4 @@ $(document).ready(function() {
$('#export-encryption-password').attr('disabled', !($('#export-use-encryption').is(':checked') && $('#export-type-file').is(':checked')));
});
});
});