[gen] appy.js: bugfix.
This commit is contained in:
parent
0b4e78bf83
commit
5ba648fbf0
|
@ -212,8 +212,10 @@ function askAjaxChunk(hook, mode, url, px, params, beforeSend, onGet) {
|
||||||
if (mode == 'GET') {
|
if (mode == 'GET') {
|
||||||
urlFull = urlFull + '?' + paramsFull;
|
urlFull = urlFull + '?' + paramsFull;
|
||||||
}
|
}
|
||||||
// Display the preloader
|
/* Display the preloader (rq.hook may be null if the ajax result would be
|
||||||
injectChunk(getAjaxHook(rq.hook), loadingZone, true);
|
the same as what is currently shown, as when inline-editing a rich text
|
||||||
|
field). */
|
||||||
|
if (rq.hook) injectChunk(getAjaxHook(rq.hook), loadingZone, true);
|
||||||
// Perform the asynchronous HTTP GET or POST
|
// Perform the asynchronous HTTP GET or POST
|
||||||
rq.xhr.open(mode, urlFull, true);
|
rq.xhr.open(mode, urlFull, true);
|
||||||
if (mode == 'POST') {
|
if (mode == 'POST') {
|
||||||
|
|
Loading…
Reference in a new issue