Author: zhen
Date: Sun Jun 8 15:38:29 2008
New Revision: 664572
URL: http://svn.apache.org/viewvc?rev=664572&view=rev
Log:
Added target ownerId to gadgets.views.requestNavigateTo() as standardized in
spec v0.8. (SHINDIG-345)
Modified:
incubator/shindig/trunk/features/views/views.js
Modified: incubator/shindig/trunk/features/views/views.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/views/views.js?rev=664572&r1=664571&r2=664572&view=diff
==============================================================================
--- incubator/shindig/trunk/features/views/views.js (original)
+++ incubator/shindig/trunk/features/views/views.js Sun Jun 8 15:38:29 2008
@@ -92,10 +92,12 @@
* @param {gadgets.views.View} view The view to navigate to
* @param {Map.<String, String>} opt_params Parameters to pass to the
* gadget after it has been navigated to on the surface
+ * @param {string} opt_ownerId The ID of the owner of the page to navigate
to;
+ * defaults to the current owner.
*/
- requestNavigateTo : function(view, opt_params) {
+ requestNavigateTo : function(view, opt_params, opt_ownerId) {
gadgets.rpc.call(
- null, "requestNavigateTo", null, view.getName(), opt_params);
+ null, "requestNavigateTo", null, view.getName(), opt_params,
opt_ownerId);
},
/**