|
|
@ -127,8 +127,11 @@ $.extend( $.fn.dataTableExt.oPagination, {
|
|
|
|
.insertBefore( $('li:last', host) )
|
|
|
|
.insertBefore( $('li:last', host) )
|
|
|
|
.bind('click', function (e) {
|
|
|
|
.bind('click', function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength;
|
|
|
|
var pageNum = parseInt($('a', this).text(),10);
|
|
|
|
fnDraw( oSettings );
|
|
|
|
if ( ! isNaN(pageNum)) {
|
|
|
|
|
|
|
|
oSettings._iDisplayStart = (pageNum-1) * oPaging.iLength;
|
|
|
|
|
|
|
|
fnDraw( oSettings );
|
|
|
|
|
|
|
|
}
|
|
|
|
} );
|
|
|
|
} );
|
|
|
|
} );
|
|
|
|
} );
|
|
|
|
|
|
|
|
|
|
|
|