Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -rae292bdf413a0bcfa8931ddb62754e2b705d69cc -r6467421c72e095d0345e9076b59a0118898c334a --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision ae292bdf413a0bcfa8931ddb62754e2b705d69cc) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 6467421c72e095d0345e9076b59a0118898c334a) @@ -2743,10 +2743,15 @@ // close the Live Edit dialog if (GeneralLib.checkTBLGrouping()) { alert(LABELS.LIVEEDIT_SAVE_SUCCESSFUL); + window.parent.closeDialog('dialogAuthoring'); } else { - alert(LABELS.SAVE_SUCCESSFUL_CHECK_GROUPING); + $('.modal-body', layout.infoDialog).text(LABELS.SAVE_SUCCESSFUL_CHECK_GROUPING); + layout.infoDialog.modal('show'); + + setTimeout(function(){ + window.parent.closeDialog('dialogAuthoring'); + }, 7000); } - window.parent.closeDialog('dialogAuthoring'); } }); @@ -2763,7 +2768,13 @@ if (GeneralLib.checkTBLGrouping()) { alert(LABELS.SAVE_SUCCESSFUL); } else { - alert(LABELS.SAVE_SUCCESSFUL_CHECK_GROUPING); + $('.modal-body', layout.infoDialog).text(LABELS.SAVE_SUCCESSFUL_CHECK_GROUPING); + layout.infoDialog.modal('show'); + + setTimeout(function(){ + $('.modal-body', layout.infoDialog).empty(); + layout.infoDialog.modal('hide'); + }, 5000); } }