mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°410 Modal dialog's height for CSV export partially hidden because no scrollbar available.
SVN:trunk[4858]
This commit is contained in:
@@ -545,7 +545,7 @@ EOF
|
||||
}
|
||||
});
|
||||
docWidth = $(document).width();
|
||||
$('#ModalDlg').dialog({ autoOpen: false, modal: true, width: 0.8*docWidth }); // JQuery UI dialogs
|
||||
$('#ModalDlg').dialog({ autoOpen: false, modal: true, width: 0.8*docWidth, height: 'auto', maxHeight: $(window).height() - 50 }); // JQuery UI dialogs
|
||||
ShowDebug();
|
||||
$('#logOffBtn>ul').popupmenu();
|
||||
|
||||
|
||||
@@ -354,6 +354,8 @@ function InteractiveShell($sExpression, $sQueryId, $sFormat, $sFileName, $sMode)
|
||||
autoOpen: true,
|
||||
modal: true,
|
||||
width: '80%',
|
||||
height: 'auto',
|
||||
maxHeight: $(window).height() - 50,
|
||||
title: $sJSTitle,
|
||||
close: function() { $('#export-form').attr('data-state', 'cancelled'); $(this).remove(); },
|
||||
buttons: [
|
||||
|
||||
Reference in New Issue
Block a user