Index: trunk/phase3/resources/jquery/jquery.tablesorter.js |
— | — | @@ -104,8 +104,8 @@ |
105 | 105 | for ( var i = 0; i < l; i++ ) { |
106 | 106 | p = false; |
107 | 107 | sortType = $headers.eq(i).data('sort-type'); |
108 | | - if ( typeof sortVal != 'undefined' ) { |
109 | | - p = getParserById( sortVal ); |
| 108 | + if ( typeof sortType != 'undefined' ) { |
| 109 | + p = getParserById( sortType ); |
110 | 110 | } |
111 | 111 | |
112 | 112 | if (p === false) { |