From e14cb5c2b735a8217f4320bb1f48a61c7e975f04 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Wed, 18 May 2011 23:04:11 +0100 Subject: [PATCH] Fixed the Attribute Pool Bug :) --- node/MessageHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/MessageHandler.js b/node/MessageHandler.js index bcb949571..69554b687 100644 --- a/node/MessageHandler.js +++ b/node/MessageHandler.js @@ -539,7 +539,7 @@ function handleClientReady(client, message) pad2sessions[message.padId].push(sessionId); //prepare all values for the wire - atext = pad.atext; + var atext = Changeset.cloneAText(pad.atext); var attribsForWire = Changeset.prepareForWire(atext.attribs, pad.pool); var apool = attribsForWire.pool.toJsonable(); atext.attribs = attribsForWire.translated;