You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by do...@apache.org on 2008/02/11 22:03:55 UTC

svn commit: r620608 - /incubator/shindig/trunk/features/opensocial-samplecontainer/statefileparser.js

Author: doll
Date: Mon Feb 11 13:03:46 2008
New Revision: 620608

URL: http://svn.apache.org/viewvc?rev=620608&view=rev
Log:
Another fix for SHINDIG-58. 
The state file parser now passes the right params into the activity constructor.


Modified:
    incubator/shindig/trunk/features/opensocial-samplecontainer/statefileparser.js

Modified: incubator/shindig/trunk/features/opensocial-samplecontainer/statefileparser.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-samplecontainer/statefileparser.js?rev=620608&r1=620607&r2=620608&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-samplecontainer/statefileparser.js (original)
+++ incubator/shindig/trunk/features/opensocial-samplecontainer/statefileparser.js Mon Feb 11 13:03:46 2008
@@ -158,8 +158,8 @@
         {'type' : $(this).attr('type')}));
       });
       activities[userId].push(container.newActivity(
-          $(this).attr('title'),
-      {'id' : $(this).attr('id'),
+      {'title' : $(this).attr('title'),
+        'id' : $(this).attr('id'),
         'externalId' : $(this).attr('externalId'),
         'body' : $(this).attr('body'),
         'appId' : appId,