1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    4
    Vote Rating
    0
    thewoodsman is on a distinguished road

      0  

    Default Firefox tab issues

    Firefox tab issues


    Hi everyone,

    I have a tab panel, and I'm having problems with Firefox updating its content.
    The new content starts the same as the old content, but with a new form underneath.
    In IE, using setUrl() and refresh(), I see the ajax loading animation, then the new content appears.

    In FF however, I see the loading anim, but the content appears unchanged after this.
    Using Firebugs DOM inspector, I can see that the content has been put into this tab, but it isn't visible: in fact it's greyed out in the firebug html view!

    Any ideas? Do I have to explicitly tell the tab to change its height, or make something visible, something like that?

    Any help appreciated, I'm stumped!

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    If you're dynamically loading something besides some simple html, for example additional panels, you'll need to call doLayout on the container.

  3. #3
    Ext User
    Join Date
    Jan 2008
    Posts
    4
    Vote Rating
    0
    thewoodsman is on a distinguished road

      0  

    Default


    Thanks for your idea...

    2 problems tho:

    1, I'm only loading simple HTML

    2, Does doLayout exist in 1.x? I can't find it...

    Basically, this code was written by someone else and I have to maintain it, and it's a bit hacky, so apologies for my lack of understanding!

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Sorry, I thought this was a 2.0 post. You'll have to post an example of what you're doing.

  5. #5
    Ext User
    Join Date
    Jan 2008
    Posts
    4
    Vote Rating
    0
    thewoodsman is on a distinguished road

      0  

    Default


    Okay, it's a mix of JQ and Ext!!

    var tabsLinks=$('#'+tab+'Tab a');
    tabsLinks.click(function()
    {
    window[tab+'Tab'].setUrl(this.href);
    window[tab+'Tab'].refresh();
    window[tab+'Tab'].activate();
    return false;
    });

    In IE, the tab panel is updated with the results of the HTTP request.

    In fact, according to Firebug, FF is as well, but the DOM is greyed out, which means the new content isn't visible....

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi