Author: bhofmann
Date: Sat Sep 24 13:35:45 2011
New Revision: 1175166
URL: http://svn.apache.org/viewvc?rev=1175166&view=rev
Log:
fixed sending message object with requestSendMessage rpc call in default
opensocial container implementation
Modified:
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
Modified:
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js?rev=1175166&r1=1175165&r2=1175166&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
Sat Sep 24 13:35:45 2011
@@ -100,7 +100,7 @@ opensocial.Container.prototype.getEnviro
opensocial.Container.prototype.requestSendMessage = function(recipients,
message, opt_callback, opt_params) {
gadgets.rpc.call(null, 'requestSendMessage', opt_callback, recipients,
- message, opt_callback, opt_params);
+ message.toJsonObject(), opt_callback, opt_params);
};