mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
Avoid accidental matches on native object functions (filter, map, etc.)
This commit is contained in:
parent
09ac4244cb
commit
b240e9eea5
@ -172,7 +172,7 @@ var et2_arrayMgr = Class.extend({
|
|||||||
// Abort if the current entry is not an object (associative array) and
|
// Abort if the current entry is not an object (associative array) and
|
||||||
// we should descend further into it.
|
// we should descend further into it.
|
||||||
var isObject = typeof entry === 'object';
|
var isObject = typeof entry === 'object';
|
||||||
if (!isObject && !_referenceInto || entry == null)
|
if (!isObject && !_referenceInto || entry == null || jQuery.isEmptyObject(entry))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user