Permalink
Browse files

Added sort_start and sort_end events

  • Loading branch information...
1 parent db37215 commit 2ef16ffaf26b2f4f830582704043bd82c5000f2d Brian Cray committed May 31, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 taboosorter.js
View
6 taboosorter.js
@@ -71,8 +71,12 @@
sort: function (index) {
var t = this;
- index = index || t.settings.initial_column;
+ index = index || t.settings.initial_column,
+ el = $(t.el);
+
+ el.trigger('sort_start');
t._sort_column(index);
+ el.trigger('sort_end');
},
_listen: function () {

0 comments on commit 2ef16ff

Please sign in to comment.