mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Apparently expandName() can also return null - handle that too
This commit is contained in:
parent
2087aed7a3
commit
7b9b5efe7f
@ -253,13 +253,13 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned],
|
||||
var ident = content.expandName(value);
|
||||
var regex = new RegExp("\\[" + content.perspectiveData.row + "\\]");
|
||||
|
||||
if(ident.match(regex))
|
||||
if(ident != null && ident.match(regex))
|
||||
{
|
||||
rowData[rowIndex] = jQuery.extend({}, rowDataEntry);
|
||||
content.perspectiveData.row = ++rowIndex;
|
||||
regex = new RegExp("\\[" + content.perspectiveData.row + "\\]");
|
||||
}
|
||||
} while(ident.match(regex))
|
||||
} while(ident != null && ident.match(regex))
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user