mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 20:39:13 +02:00
Small design improvements, fixed horz. scrollbar in grid with chrome, ie compatibility, enabled column selection, fixed prefetch code
This commit is contained in:
@@ -488,7 +488,7 @@ egwGridDataElement.prototype.getData = function(_columnIds)
|
||||
|
||||
for (var i = 0; i < _columnIds.length; i++)
|
||||
{
|
||||
res = this.hasColumn(_columnIds[i], true);
|
||||
var res = this.hasColumn(_columnIds[i], true);
|
||||
|
||||
// Either add the result to the result list (if the column data was available)
|
||||
// or add it to the query list.
|
||||
@@ -853,7 +853,7 @@ egwGridDataQueue.prototype.prefetch = function(_cnt)
|
||||
{
|
||||
var idx = planes[plane].idx;
|
||||
|
||||
if (!planes.parent || idx == planes[plane].parent.children.length)
|
||||
if (!planes[plane].parent || idx == planes[plane].parent.children.length)
|
||||
{
|
||||
planes[plane].done = true;
|
||||
done++;
|
||||
@@ -864,7 +864,7 @@ egwGridDataQueue.prototype.prefetch = function(_cnt)
|
||||
var elem = planes[plane].parent.children[idx];
|
||||
for (var j = 0; j < this.queueColumns.length; j++)
|
||||
{
|
||||
if (!elem.hasColumn(this.queueColumns[i], false))
|
||||
if (!elem.hasColumn(this.queueColumns[j], false))
|
||||
{
|
||||
hasData = false;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user