Index: lams_central/web/includes/javascript/dialog.js =================================================================== diff -u -r32670937f259e2c8a712e1dd2cd6bb5731f466c9 -r4d710be17dc384e90d10a8a57c9fe2f7c77c88e2 --- lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision 32670937f259e2c8a712e1dd2cd6bb5731f466c9) +++ lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision 4d710be17dc384e90d10a8a57c9fe2f7c77c88e2) @@ -19,13 +19,12 @@ '' + '' + ''); - /** * Checks if the dialog is already opened. * If not, creates a new dialog with the given ID and init parameters. */ -function showDialog(id, initParams, extraButtons, recreate) { +function showDialog(id, initParams, extraButtons, recreate, noFade) { var dialog = $('#' + id); // is it opened already? if (dialog.length > 0) { @@ -314,7 +313,6 @@ //used by both /lams_central/web/main.jsp and /lams_central/web/lti/addlesson.jsp pages function showAuthoringDialog(learningDesignID, relaunchMonitorLessonID){ - debugger; var dialog = showDialog('dialogAuthoring', { 'height' : Math.max(300, $(window).height() - 30), 'width' : Math.max(600, Math.min(1280, $(window).width() - 60)), @@ -399,13 +397,11 @@ //used by Page.tag function showMyPortraitDialog() { - debugger; showDialog("dialogMyProfile", { 'title' : "Portrait", 'modal' : true, 'width' : Math.max(380, Math.min(770, $(window).width() - 60)), 'open' : function() { - debugger; var dialog = $(this); // load contents after opening the dialog $('iframe', dialog).attr('src', LAMS_URL + 'index.do?redirect=portrait&isReturnButtonHidden=true');