typo; this fix will precipitate a new release to support connected sessions through...
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Dec 2008 04:15:35 +0000 (04:15 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Dec 2008 04:15:35 +0000 (04:15 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1533 9efc2488-bf62-4759-914b-345cdb29e865

src/javascript/opensrf.js

index dbd2633..07aacdd 100644 (file)
@@ -228,7 +228,7 @@ OpenSRF.Stack = function() {
 OpenSRF.Stack.push = function(net_msg, callbacks) {
     var ses = OpenSRF.Session.find_session(net_msg.thread); 
     if(!ses) return;
-    ses.remote_id = net_msg.sender;
+    ses.remote_id = net_msg.from;
     osrf_msgs = JSON2js(net_msg.body);
     for(var i = 0; i < osrf_msgs.length; i++) 
         OpenSRF.Stack.handle_message(ses, osrf_msgs[i], callbacks);