Index: remoting/webapp/me2mom/xhr.js |
diff --git a/remoting/webapp/me2mom/xhr.js b/remoting/webapp/me2mom/xhr.js |
index 9c8674a09229968508a10b6eb3c6a8918f6fc639..0353bb00bb4d99f7c90f9902a960fe412fdd3211 100644 |
--- a/remoting/webapp/me2mom/xhr.js |
+++ b/remoting/webapp/me2mom/xhr.js |
@@ -48,7 +48,7 @@ remoting.xhr.urlencodeParamHash = function(paramHash) { |
* request. |
* @param {boolean} opt_withCredentials Set the withCredentials flags in the |
* XHR. |
- * @return {void} Nothing. |
+ * @return {XMLHttpRequest} The request object. |
*/ |
remoting.xhr.get = function(url, onDone, opt_parameters, opt_headers, |
opt_withCredentials) { |
@@ -94,6 +94,7 @@ remoting.xhr.get = function(url, onDone, opt_parameters, opt_headers, |
} |
xhr.send(null); |
+ return xhr; |
} |
/** |