fix egw.request() to return simple / non-json-responses, like egw.json() does

This commit is contained in:
ralf 2022-08-08 17:28:38 +02:00
parent e7eb9f42e3
commit e1c8acddc1

View File

@ -527,8 +527,9 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd)
return value;
}
}
}
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;
});