You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2010/11/30 13:07:49 UTC

svn commit: r1040476 - /incubator/wookie/trunk/widgets/simplechat/chat.js

Author: scottbw
Date: Tue Nov 30 12:07:49 2010
New Revision: 1040476

URL: http://svn.apache.org/viewvc?rev=1040476&view=rev
Log:
Fix for issue WOOKIE-163 - reverted from SubmitDelta to AppendSharedData method. Eventually we should remove Append and make SubmitDelta more robust.

Modified:
    incubator/wookie/trunk/widgets/simplechat/chat.js

Modified: incubator/wookie/trunk/widgets/simplechat/chat.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/simplechat/chat.js?rev=1040476&r1=1040475&r2=1040476&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/simplechat/chat.js (original)
+++ incubator/wookie/trunk/widgets/simplechat/chat.js Tue Nov 30 12:07:49 2010
@@ -60,8 +60,8 @@ function post(user,text,url){
     text = replaceTextSmileys(text);
     var log = wave.getState().get("chatLog");
     if (!log||log==null||log=="null") log = '';
-    wave.getState().submitValue("chatLog", log + chatSeparator + user + dataSeparator + text + dataSeparator + url + chatSeparator);
- 	//Widget.appendSharedDataForKey("chatLog",  chatSeparator + user + dataSeparator + text + dataSeparator + url + chatSeparator);
+    //wave.getState().submitValue("chatLog", log + chatSeparator + user + dataSeparator + text + dataSeparator + url + chatSeparator);
+ 	Widget.appendSharedDataForKey("chatLog",  chatSeparator + user + dataSeparator + text + dataSeparator + url + chatSeparator);
 }
 
 ///// Chat List