Skip to content

Commit

Permalink
added sortBegin event
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Sep 22, 2011
1 parent 532aa16 commit ce8ae42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion js/jquery.tablesorter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* TableSorter 2.0 - Client-side table sorting with ease!
* Version 2.0.20.1
* Version 2.0.21
* @requires jQuery v1.2.3
*
* Copyright (c) 2007 Christian Bach
Expand Down Expand Up @@ -676,6 +676,8 @@
}
}
}
// sortBegin event triggered immediately before the sort
$this.trigger("sortBegin", tbl[0]);
setTimeout(function () {
// set css for headers
setHeadersCss($this[0], $headers, config.sortList, sortCSS);
Expand Down
Loading

0 comments on commit ce8ae42

Please sign in to comment.