mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
Backport commit 47929 committed by NathanGray, Handle if ID is not a string instead of erroring.
This commit is contained in:
parent
747a1eb619
commit
04127c8b56
@ -123,7 +123,7 @@ egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
|
||||
if (_result.order && _result.data)
|
||||
{
|
||||
// Assemble the correct order uids
|
||||
if(!(_result.order.length && _result.order[0] && _result.order[0].indexOf(_context.prefix) == 0))
|
||||
if(!(_result.order.length && _result.order[0] && _result.order[0].indexOf && _result.order[0].indexOf(_context.prefix) == 0))
|
||||
{
|
||||
for (var i = 0; i < _result.order.length; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user