Index: lams_central/web/includes/javascript/profile.js =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r7a17ebd2085760d075fa41591cef295a702145eb --- lams_central/web/includes/javascript/profile.js (.../profile.js) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_central/web/includes/javascript/profile.js (.../profile.js) (revision 7a17ebd2085760d075fa41591cef295a702145eb) @@ -3,11 +3,12 @@ var dialog = $("#" + id, window.parent.document); // update height - $('.modal-content', dialog).height(height); if (height.match("%$")) { - $('.modal-dialog', dialog).height(height); + $('.modal-content', dialog).css('height', height); + $('.modal-dialog', dialog).css('height', height); } else { - $('.modal-dialog', dialog).height(''); + $('.modal-content', dialog).css('height', height + 'px'); + $('.modal-dialog', dialog).css('height', null); } // update title