mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 18:11:34 +02:00
fix egw.request() to return simple / non-json-responses, like egw.json() does
This commit is contained in:
@ -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')
|
||||
@ -859,5 +860,4 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
|
||||
// Return the extension
|
||||
return json;
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user