diff --git a/public/js/script.js b/public/js/script.js index 9c342b8e..808b8c1d 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -159,7 +159,13 @@ function displayErrorResponse(jqXHR) { function displaySuccessMessage(data){ if(data == 'OK'){ - notify('File Uploaded Successfully'); + var success = $('
').addClass('alert alert-success') + .append($('').addClass('fa fa-check')) + .append(' File Uploaded Successfully.'); + $('#alerts').append(success); + setTimeout(function () { + success.remove(); + }, 2000); } }