CC-4476: Make all green notification boxes fade out after 5 seconds

-fixed
This commit is contained in:
Martin Konecny 2012-09-18 21:29:02 -04:00
parent be4e02cbf1
commit 7036036a86
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ $(document).ready(function() {
afterDetachCSSClass: "floated-panel",
savePanelSpace: true
});
//this statement tells the browser to fade out any success message after 5 seconds
setTimeout(function(){$(".success").fadeOut("slow", function(){$(this).empty()});}, 5000);
});
function adjustDateToServerDate(date, serverTimezoneOffset){