mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +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 value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return undefined;
|
||||||
}
|
}
|
||||||
return undefined;
|
return response;
|
||||||
});
|
});
|
||||||
// pass abort method to returned response
|
// pass abort method to returned response
|
||||||
if (typeof response.abort === 'function')
|
if (typeof response.abort === 'function')
|
||||||
@ -859,5 +860,4 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
|||||||
|
|
||||||
// Return the extension
|
// Return the extension
|
||||||
return json;
|
return json;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user