mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 13:41:01 +01:00
fix js error preventing switching between tile and list view in fileemanager
This commit is contained in:
parent
8333cf06e6
commit
66995e39da
@ -2446,7 +2446,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
|||||||
// Some apps send header data in 'rows', which is the wrong namespace. Passing it into the header can trigger
|
// Some apps send header data in 'rows', which is the wrong namespace. Passing it into the header can trigger
|
||||||
// autorepeat in some cases, so pass just the non-numeric keys into header namespace. Some headers also use content
|
// autorepeat in some cases, so pass just the non-numeric keys into header namespace. Some headers also use content
|
||||||
// in the parent nm namespace, just to complicate things.
|
// in the parent nm namespace, just to complicate things.
|
||||||
let rows = this.getArrayMgr("content").getEntry("rows");
|
let rows = this.getArrayMgr("content").getEntry("rows")||{};
|
||||||
Object.keys(rows).forEach(k =>
|
Object.keys(rows).forEach(k =>
|
||||||
{
|
{
|
||||||
if(isNaN(k))
|
if(isNaN(k))
|
||||||
|
Loading…
Reference in New Issue
Block a user