You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2009/07/08 23:32:27 UTC
svn commit: r792331 - in
/incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference:
container.js opensocial.js
Author: lindner
Date: Wed Jul 8 21:32:26 2009
New Revision: 792331
URL: http://svn.apache.org/viewvc?rev=792331&view=rev
Log:
SHINDIG-1049 | Fix from Sachin Shenoy that moves requestSendMessage to container
Modified:
incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/opensocial.js
Modified: incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js?rev=792331&r1=792330&r2=792331&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js Wed Jul 8 21:32:26 2009
@@ -98,7 +98,8 @@
*/
opensocial.Container.prototype.requestSendMessage = function(recipients,
message, opt_callback, opt_params) {
- return opensocial.requestSendMessage(recipients, message, opt_callback, opt_params);
+ gadgets.rpc.call(null, "requestSendMessage", opt_callback, recipients,
+ message, opt_callback, opt_params);
};
Modified: incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/opensocial.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/opensocial.js?rev=792331&r1=792330&r2=792331&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/opensocial.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/opensocial.js Wed Jul 8 21:32:26 2009
@@ -76,8 +76,8 @@
*/
opensocial.requestSendMessage = function(recipients, message, opt_callback,
opt_params) {
- gadgets.rpc.call(null, "requestSendMessage", opt_callback, recipients, message, opt_callback,
- opt_params);
+ return opensocial.Container.get().requestSendMessage(recipients, message,
+ opt_callback, opt_params);
};