[OpenSRF-GIT] OpenSRF branch rel_2_4 updated. osrf_rel_2_4_0-1-gec2a163
Evergreen Git
git at git.evergreen-ils.org
Mon Feb 16 18:01:52 EST 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".
The branch, rel_2_4 has been updated
via ec2a163c1526dd0d473ed513210bcda35bb00179 (commit)
from f738a24b6ef6ded63a681adac079c69729dc755a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ec2a163c1526dd0d473ed513210bcda35bb00179
Author: Bill Erickson <berickxx at gmail.com>
Date: Thu Feb 5 10:34:40 2015 -0500
LP#1418613 per-tab websocket send() JS thinko repair
Avoid referencing variable defined somewhere outside the send_ws()
function. Doing so happened to result in re-sending the same message
twice in some cases.
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/src/javascript/opensrf.js b/src/javascript/opensrf.js
index ecc012d..d67fbfd 100644
--- a/src/javascript/opensrf.js
+++ b/src/javascript/opensrf.js
@@ -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);
-----------------------------------------------------------------------
Summary of changes:
src/javascript/opensrf.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
OpenSRF
More information about the opensrf-commits
mailing list