CHANGED bootstrap tooltip

pull/243/head
Frank van Os 9 years ago
parent 3f214143eb
commit 8960315a97

@ -204,14 +204,16 @@ $.fn.dataTableExt.oPagination.dynamic_pagination = {
var input = $(paging).find('input'); var input = $(paging).find('input');
input.css('display','inline'); input.css('display','inline');
if(that.bootstrapTooltip){ if(that.bootstrapTooltip){
$('.pagination > li > input').attr('data-title','Max. page number: '+iPages).tooltip({ input.attr('data-original-title','Max. page number: '+Math.ceil(oSettings.fnRecordsDisplay() / oSettings._iDisplayLength));
input.tooltip({
container: '.pagination', container: '.pagination',
placement: 'top' placement: 'top'
}); });
} }
input.val(iCurrentPage); input.val(iCurrentPage);
$(paging).find('select').css('display','none'); $(paging).find('select').css('display','none');
} }
// When there are pages show pagination block and info block // When there are pages show pagination block and info block

Loading…
Cancel
Save