Removing the tablesorter code completely, both for checkouts and holds, broke the tabbed layout on my initial tests. How could I get around that?
-Ian On Wed, Sep 8, 2010 at 9:00 AM, Owen Leonard <[email protected]> wrote: > > $("#issuest").tablesorter({<!-- TMPL_IF > NAME="dateformat_metric" --> > > dateFormat: 'uk',<!-- /TMPL_IF --> > > headers: { 1: { sorter: 'articles' },5: { sorter: false > },6:{sorter:false},7:{sorter:false},8:{sorter:false}} > > @@ -26,6 +27,7 @@ $.tablesorter.addParser({ > > $("#issuest").bind("sortEnd",function() { > > $("#previous").parents("tr").remove(); // 'previous > checkouts' header chokes table sorter > > }); > > + <!-- /TMPL_IF --> > > $("#holdst").tablesorter({<!-- TMPL_IF > NAME="dateformat_metric" --> > > If this preference is turned on all tablesorter code needs to be > hidden completely from the template. We shouldn't leave in the > tablesorter code for the holds tab because the same slowdown could be > happening there too. > > -- Owen > > -- > Web Developer > Athens County Public Libraries > http://www.myacpl.org > -- Ian Walls Lead Development Specialist ByWater Solutions Phone # (888) 900-8944 http://bywatersolutions.com [email protected] Twitter: @sekjal
_______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
