[jboss-cvs] jboss-seam/src/remoting/org/jboss/seam/remoting ...
Shane Bryzak
sbryzak at redhat.com
Sat Jun 16 01:10:43 EDT 2007
User: sbryzak2
Date: 07/06/16 01:10:42
Modified: src/remoting/org/jboss/seam/remoting remote.js
Log:
JBSEAM-1249
Revision Changes Path
1.5 +8 -0 jboss-seam/src/remoting/org/jboss/seam/remoting/remote.js
(In the diff below, changes in quantity of whitespace are not shown.)
Index: remote.js
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/remote.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- remote.js 4 Jun 2007 00:07:41 -0000 1.4
+++ remote.js 16 Jun 2007 05:10:42 -0000 1.5
@@ -589,6 +589,14 @@
asyncReq = new ActiveXObject("Microsoft.XMLHTTP");
asyncReq.onreadystatechange = function() {Seam.Remoting.requestCallback(asyncReq, callback); }
+
+ var href = window.location.href;
+ if (href.indexOf(';jsessionid=') >= 0)
+ {
+ var qpos = url.indexOf('?');
+ path += href.substring(href.indexOf(';jsessionid='), qpos >= 0 ? qpos : url.length());
+ }
+
asyncReq.open("POST", Seam.Remoting.resourcePath + path, true);
asyncReq.send(envelope);
return asyncReq;
More information about the jboss-cvs-commits
mailing list