Sha256: 37dec378bcd933c4d6456e5b003f6be554038af8f8f9fa482384ca9d107bd15f
Contents?: true
Size: 662 Bytes
Versions: 8
Compression:
Stored size: 662 Bytes
Contents
/*! SmartAdmin - v1.5 - 2014-09-27 */(function(){var a;a=jQuery,a.fn.extend({"rowslide":function(b){var c,d,e;return c=this,d=this.find("td"),$row_id=c.attr("id"),e=this.getTallestTd(d),c.animate({"opacity":0},80,function(){var f,g;return d.each(function(){return this!==e?(a(this).empty(),a(this).css("padding","0")):void 0}),f=a(e),g=a("<div/>"),g.css(f.css("padding")),f.css("padding","0"),f.wrapInner(g),f.children("div").animate({"height":"hide"},100,"swing",function(){return c.remove(),b?b():void 0})})},"getTallestTd":function(b){var c,d;return d=-1,c=0,b.each(function(b,e){return a(e).height()>c?(d=b,c=a(e).height()):void 0}),b.get(d)}})}).call(this);
Version data entries
8 entries across 8 versions & 1 rubygems