LP#1418613 per-tab websocket send() JS thinko repair user/berick/lp1418613-websocket-per-tab-thinko
authorBill Erickson <berickxx@gmail.com>
Thu, 5 Feb 2015 15:34:40 +0000 (10:34 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 5 Feb 2015 15:45:02 +0000 (10:45 -0500)
commit6e0a058f4fe703fcebd29019a3daf3d2ffa08dcc
treeb56e898e911ef3c8e9a3a169d77a377c67eeccae
parent0c31fd33b8f5b55e24eba5862fca7be9ff3fc213
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@gmail.com>
src/javascript/opensrf.js