Index: lams_central/web/includes/javascript/dialog5.js =================================================================== diff -u -r5e9fc57b2fde4a487da7c72f6de7e286bc4ae6ee -rf932b797330099220514e4c2acef885899567207 --- lams_central/web/includes/javascript/dialog5.js (.../dialog5.js) (revision 5e9fc57b2fde4a487da7c72f6de7e286bc4ae6ee) +++ lams_central/web/includes/javascript/dialog5.js (.../dialog5.js) (revision f932b797330099220514e4c2acef885899567207) @@ -408,20 +408,14 @@ var isTopLevelWindow = window.top == window.self; //calculate width and height based on the dimensions of the window to which dialog is added var dialogWindow = isTopLevelWindow ? $(window) : $(window.parent); - - // if screen is narrow, then it is much longer - var width = Math.max(380, Math.min(800, dialogWindow.width() - 60)), - height = width < 798 ? 850 : 650; - height = Math.max(380, Math.min(height, dialogWindow.height() - 30)); var id = "dialogNotifications" + (lessonID ? "Lesson" + lessonID : "Org" + orgID); showDialog(id, { 'data' : { 'orgID' : orgID, 'lessonID' : lessonID }, - 'height': height, - 'width' : width, + 'height': 700, //dialog needs to be added to a top level window to avoid boundary limitations of the interim iframe "isCreateInParentWindow" : !isTopLevelWindow, 'title' : LABELS.EMAIL_NOTIFICATIONS_TITLE, @@ -439,7 +433,7 @@ + orgID); } } - }, false).find('.modal-dialog').addClass('modal-lg'); + }, false).find('.modal-dialog').addClass('modal-xl'); }