Adds support for the 'set title' opensocial api call.
Index: container.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ShindigIntegrator/shindig_integrator/container.js,v
retrieving revision 1.1
diff -b -r1.1 container.js
21a22
> gadgets.rpc.register('set_title', this.setTitle);
36a38,45
> gadgets.IfrContainer.prototype.setTitle = function(title) {
> var element = $(this.f + '_title');
> if (element != undefined) {
> // update the title, and make sure we don't break it's html
> element.text(title.replace(/&/g, '&').replace(/</g, '<'));
> }
> };
>
Code, like much of the rest of container.js comes from partuza.
Comments
Comment #1
ramsharma2005 commentedHi pletcher,
Please provide UI or gadget, using which you have tested this feature.
Thanks
Comment #2
pletcher commentedAstha123,
I used the included sample7.html file that is included with shindig at shindig/javascript/container/sample7.html as a reference, which in turn uses http://www.google.com/ig/modules/test_settitle_html.xml
Thanks,
jrp
Comment #3
ramsharma2005 commentedResolved