I"=(function() { var Flash; ActiveAdmin.flash = Flash = (function() { Flash.error = function(message, close_after) { return new this(message, "error", close_after); }; Flash.notice = function(message, close_after) { return new this(message, "notice", close_after); }; Flash.prototype.reference = function() { return this.reference; }; function Flash(message1, type1, close_after) { this.message = message1; this.type = type1 != null ? type1 : "notice"; this.reference = jQuery("
").addClass("flash flash_" + type).text(message); jQuery(".flashes").append(this.reference); if (close_after != null) { this.close_after(close_after); } } Flash.prototype.close_after = function(close_after) { return setTimeout((function(_this) { return function() { return _this.close(); }; })(this), close_after * 1000); }; Flash.prototype.close = function() { return this.reference.remove(); }; return Flash; })(); }).call(this); :ET