add 'return respose' statements to XHR callbacks
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3278 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
0938619e67
commit
ea68af83e8
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,7 @@ function submitReplacing(targetId, formId, url) {
|
||||||
mimetype: "text/html",
|
mimetype: "text/html",
|
||||||
load: function(response, ioArgs) {
|
load: function(response, ioArgs) {
|
||||||
replaceNode(response, targetId);
|
replaceNode(response, targetId);
|
||||||
|
return resonse;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -90,6 +91,7 @@ function xhrSubmitPopup(formId, url) {
|
||||||
mimetype: "text/html",
|
mimetype: "text/html",
|
||||||
load: function(response, ioArgs) {
|
load: function(response, ioArgs) {
|
||||||
window.close();
|
window.close();
|
||||||
|
return resonse;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue