Author: bhofmann
Date: Mon Apr 18 15:53:00 2011
New Revision: 1094629
URL: http://svn.apache.org/viewvc?rev=1094629&view=rev
Log:
fix for shindig-container.js: view-params should be sent as query parameters
and not in the fragment of the gadget rendering url
Modified:
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
Modified:
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js?rev=1094629&r1=1094628&r2=1094629&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
Mon Apr 18 15:53:00 2011
@@ -729,9 +729,9 @@ shindig.IfrGadget = {
this.getUserPrefsParams() +
(this.secureToken ? '&st=' + this.secureToken : '') +
'&url=' + encodeURIComponent(this.specUrl) +
- '#rpctoken=' + this.rpcToken +
(this.viewParams ?
'&view-params=' +
encodeURIComponent(gadgets.json.stringify(this.viewParams)) : '') +
+ '#rpctoken=' + this.rpcToken +
(this.hashData ? '&' + this.hashData : '');
}
};