LP#1418613 per-tab websocket send() JS thinko repair
[opensrf-equinox.git] / src / javascript / opensrf.js
index ecc012d..d67fbfd 100644 (file)
@@ -284,7 +284,7 @@ OpenSRF.Session.prototype.send_ws = function(osrf_msg) {
     var json = js2JSON({
         service : this.service,
         thread : this.thread,
-        osrf_msg : [message.serialize()]
+        osrf_msg : [osrf_msg.serialize()]
     });
 
     OpenSRF.websocketConnection.send(json);