>-----Original Message-----
>From: Franklin, Matthew B. [mailto:[email protected]]
>Sent: Friday, May 11, 2012 8:45 AM
>To: [email protected]
>Subject: RE: Error with gadgets.window.adjustHeight()
>
>>-----Original Message-----
>>From: Chris Geer [mailto:[email protected]]
>>Sent: Thursday, May 10, 2012 7:16 PM
>>To: users
>>Subject: Error with gadgets.window.adjustHeight()
>>
>>I'm trying to call gadgets.window.adjustHeight(); from within my gadget and
>>sometime it works and others it doesn't. When it has problems it's because
>>of an error in this method:
>>
>>/*
>> RPC Callback handlers
>> */
>>/**
>> * Resizes the iFrame when gadgets.window.adjustHeight is called
>> *
>> * @param args the RPC event args
>> */
>>function resizeIframe(args) {
>>var max = 0x7FFFFFFF;
>>var height = args.a > max ? max : args.a;
>>args.gs.setHeight(height);
>> }
>>
>>When I debug the method what I see is that args.a is an Array with a single
>>value so that causes height to be null. I'm not sure what would cause that
>>though.
>
>Interesting.  Sounds like something is going on in the Shindig common
>container.

It looks like Shindig added their own RPC handler for adjustHieght, so the Rave 
implementation can just go away.  I will create a ticket to remove it.  It is 
quite possible that they have logic to handle the various conditions, since 
they create them : )

>
>Are there any cases that you can reliably reproduce the error under?
>
>>
>>Any thoughts?

Reply via email to