[Xmpp4js-commit] SF.net SVN: xmpp4js:[763] trunk/src/main/javascript/adapter/Default.js
Status: Beta
Brought to you by:
h-iverson
|
From: <h-i...@us...> - 2008-07-29 16:59:36
|
Revision: 763
http://xmpp4js.svn.sourceforge.net/xmpp4js/?rev=763&view=rev
Author: h-iverson
Date: 2008-07-29 16:59:44 +0000 (Tue, 29 Jul 2008)
Log Message:
-----------
added async option
Modified Paths:
--------------
trunk/src/main/javascript/adapter/Default.js
Modified: trunk/src/main/javascript/adapter/Default.js
===================================================================
--- trunk/src/main/javascript/adapter/Default.js 2008-07-29 16:58:51 UTC (rev 762)
+++ trunk/src/main/javascript/adapter/Default.js 2008-07-29 16:59:44 UTC (rev 763)
@@ -347,7 +347,7 @@
asyncRequest: function(request) {
var xhr = Xmpp4Js.Lang.createXhr();
- xhr.open(request.method, request.url, true);
+ xhr.open(request.method, request.url, request.async != undefined ? request.async : true);
for( var header in request.headers ) {
xhr.setRequestHeader( header, request.headers[ header ] );
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|