blob: 3b1d672db5641bc2d040e5430b024bb427729e93 (
plain) (
tree)
|
|
$(document).ready(function(){$("form input[type=text]:first").focus(),init_flash_messages()}),init_flash_messages=function(){$("#flash").css({opacity:0,visibility:"visible"}).animate({opacity:"1"},550),$("#flash_close").on("click",function(i){try{$("#flash").animate({opacity:0,visibility:"hidden"},330,function(){$("#flash").hide()})}catch(s){$("#flash").hide()}i.preventDefault()}),$("#flash.flash_message").prependTo("#records")};
|