iFrame does not resize on tabs not in focus on login

Version 1
    This document was generated from CDN thread

    Created by: CHARLES SMITH on 26-02-2013 12:36:08 AM
    If you create a second tab from the home tab in finesse, the gadget does not resize correctly unless you are viewing that page when you refresh it. For instance I have 3 tabs. Home, Manage Call, and Employee Utilities. Gadgets in the Employee Utilities do not resize on login. I have to switch to that tab ad refresh the page. Then that tab is ok and the home tab is not.   If I move the gadgets to the Home tab from the Employee Utilities tab, they resize correctly on login.

    Subject: RE: New Message from CHARLES SMITH in Cisco Finesse - General Questions: iF
    Replied by: David Lender on 26-02-2013 09:00:54 AM
    There is a new feature that was added in Finesse 9.1(1) to finesse.containerservices that provides an event when the tab the gadget is on becomes visible.  You can use this event to resize the gadget when the tab becomes visible.  For an example of the “tabVisible” handler, see the CUIC sample gadget.

    Subject: RE: New Message from David Lender in Cisco Finesse - General Questions: RE:
    Replied by: David Lender on 26-02-2013 09:39:14 AM
    Here is how to use the TabVisible event:

    containerServices = finesse.containerservices.ContainerServices.init();
    containerServices.addHandler("tabVisible", function(){
                clientLogs.log("Gadget is now visible");
            });
    containerServices.makeActiveTabReq();

    Subject: RE: iFrame does not resize on tabs not in focus on login
    Replied by: CHARLES SMITH on 26-02-2013 01:06:39 PM
    Stole the code from the CUIC.js file provided on CDN. Worked like a champ! Thanks!!!!

    Subject: RE: iFrame does not resize on tabs not in focus on login
    Replied by: Kapil Madan on 04-07-2013 06:37:16 AM
    Hi - trying the same code as above - am getting "finesse.containerservices" as undefined. (finesse.clientservice, finesse.container etc. are available.) What am I missing? 

    Subject: RE: iFrame does not resize on tabs not in focus on login
    Replied by: David Lender on 08-07-2013 10:16:53 AM
    Are you using Finesse 9.1(1)?  Does the CUIC sample gadget work for you?

    Subject: RE: New Message from David Lender in Cisco Finesse - General Questions: RE:
    Replied by: DARRIN MULLIGAN on 27-09-2013 11:11:35 AM
    Hello David.    Is there any documentation available on ContainerServices.   I do not see it in the Finesse 9.1.1 API document.   Thanks Darrin

    Subject: RE: New Message from DARRIN MULLIGAN in Finesse - General Questions: RE: Ne
    Replied by: David Lender on 27-09-2013 12:49:36 PM
    Yes it is there.  Have you downloaded the latest 9.1.1 javascript library?  The doc there shows the methods for Class finesse.containerservices.ContainerServices.

    For an example of using the tabvisible() method see the CUICSampleGadget.