chiark / gitweb /
Support Hunter
[ypp-sc-tools.db-live.git] / yarrg / web / tabsort
index 444bfb56b15f6e1b01e6e2ff74a29c1140209bb8..e114319a0254f4780bfcaa6071093d39f016f23f 100644 (file)
@@ -54,6 +54,8 @@ $cols
 
 <&| script &>
 
+% print $m->content();
+
 %      my $sortfn= "ts_sort__$table";
 function <% $sortfn %>(compar) {
   debug('sorting compar='+compar);
@@ -168,4 +170,6 @@ function ts_onload__<% $table %>() {
     thlist.item(cix).innerHTML += ah;
   }
 }
+
+register_onload(ts_onload__<% $table %>);
 </&>