mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fix egw.request() to return simple / non-json-responses, like egw.json() does
This commit is contained in:
parent
e7eb9f42e3
commit
e1c8acddc1
@ -527,8 +527,9 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
return value;
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
return response;
|
||||
});
|
||||
// pass abort method to returned response
|
||||
if (typeof response.abort === 'function')
|
||||
@ -860,4 +861,3 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
// Return the extension
|
||||
return json;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user