Fix off-by-one error in 'Displaying' statistics:
0-20, 20-40 -> 1-20, 21-40
var pager = document.getElementById("pager");
pager.innerHTML = "";
pager.innerHTML +='<hr/><div style="float: right">Displaying: '
- + data.start + ' to ' + (data.start + data.num) +
+ + (data.start + 1) + ' to ' + (data.start + data.num) +
' of ' + data.merged + ' (found: '
+ data.total + ')</div>';
drawPager(pager);
function my_onstat(data) {
var stat = document.getElementById("stat");
+ if (stat == null)
+ return;
+
stat.innerHTML = '<b> .:STATUS INFO</b> -- Active clients: '
+ data.activeclients
+ '/' + data.clients + ' -- </span>'