mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
Monotone-Parent: 85281fd909e8f0d613327a321fb964be7ca872ca
Monotone-Revision: 04792139eaeaa95bfa70e66349320e38518eb8da Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-06-07T16:31:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -95,7 +95,7 @@ var SOGoDataTableInterface = {
|
||||
var start = index - (this.overflow/2);
|
||||
if (start < 0) start = 0;
|
||||
var end = index + count + this.overflow - (index - start);
|
||||
// log ("DataTable.getData() from " + index + " to " + (index + count) + " boosted from " + start + " to " + end);
|
||||
// log ("DataTable.getData() from " + index + " to " + (index + count) + " boosted from " + start + " to " + end);
|
||||
|
||||
// Don't overflow above the maximum number of entries from the data source
|
||||
if (this.dataSource.uids && this.dataSource.uids.length < end) end = this.dataSource.uids.length;
|
||||
|
||||
Reference in New Issue
Block a user