Sha256: 17e2357043728f8c6f200a156086b9f72b7d5355c06cb330ab33752345670013

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

$.tablesorter.addWidget({id:"staticRow",format:function(a){if(typeof $(a).data("hasSorted")=="undefined"){$(a).data("hasSorted",true);$("tbody .static",a).each(function(){$(this).data("tableindex",$(this).index())})}else{var b=true;while(b){b=false;$("tbody .static",a).each(function(){var c=$(this).data("tableindex");if(c!=$(this).index()){b=true;var d=$(this).detach();var e=$("tbody tr",a).length;if(c>=e){d.appendTo($("tbody",a))}else if(c==0){d.prependTo($("tbody",a))}else{d.insertBefore($("tbody tr:eq("+c+")",a))}}})}}}})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nano-lazar-1.1.1 public/javascripts/jquery.tablesorter.staticrow.min.js
nano-lazar-1.1.0 public/javascripts/jquery.tablesorter.staticrow.min.js