added sortBegin event

This commit is contained in:
Rob Garrison 2011-09-22 11:16:30 -05:00
parent 532aa16f31
commit ce8ae429c7
2 changed files with 5 additions and 3 deletions

View File

@ -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
@ -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);

File diff suppressed because one or more lines are too long