raw/ace/assets/js/uncompressed/jquery.gritter.js
function(unique_id, e, manual_close){
			
			// Remove it then run the callback function
			e.remove();
			this['_after_close_' + unique_id](e, manual_close);
			
			// Check if the wrapper is empty, if it is.. remove the wrapper
			if($('.gritter-item-wrapper').length == 0){
				$('#gritter-notice-wrapper').remove();
			}
		
		}
function(unique_id, e, manual_close){
			
			// Remove it then run the callback function
			e.remove();
			this['_after_close_' + unique_id](e, manual_close);
			
			// Check if the wrapper is empty, if it is.. remove the wrapper
			if($('.gritter-item-wrapper').length == 0){
				$('#gritter-notice-wrapper').remove();
			}
		
		}
function ( unique_id , e , manual_close ) { // Remove it then run the callback function e . remove ( ) ; this [ '_after_close_' + unique_id ] ( e , manual_close ) ; // Check if the wrapper is empty, if it is.. remove the wrapper if ( $ ( '.gritter-item-wrapper' ) . length == 0 ) { $ ( '#gritter-notice-wrapper' ) . remove ( ) ; } }
If we don't have any more gritter notifications, get rid of the wrapper using this check
@private
@param {Integer} unique_id The ID of the element that was just deleted, use it for a callback
@param {Object} e The jQuery element that we're going to perform the remove() action on
@param {Boolean} manual_close Did we close the gritter dialog with the (X) button
If we don t have any more gritter notifications get rid of the wrapper using this check