Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    mvt is on a distinguished road

      0  

    Exclamation [CLOSED][3.??] Bug + fix for Ext.ListView and IE6

    [CLOSED][3.??] Bug + fix for Ext.ListView and IE6


    IE6 errors out if you resize the listview to a size smaller then the containing items. The following fixes it:


    Code:
    /* Fix bug in Ext.ListView with ie6 */
    Ext.override(Ext.ListView, {
        onResize : function(w, h){
            var bd = this.innerBody.dom;
            var hd = this.innerHd.dom
            if(!bd){
                return;
            }
            var bdp = bd.parentNode;
            if(typeof w == 'number'){
                var sw = w - this.scrollOffset;
                if(this.reserveScrollOffset || ((bdp.offsetWidth - bdp.clientWidth) > 10)){
                    bd.style.width = sw + 'px';
                    hd.style.width = sw + 'px';
                }else{
                    bd.style.width = w + 'px';
                    hd.style.width = w + 'px';
                    setTimeout(function(){
                        if((bdp.offsetWidth - bdp.clientWidth) > 10){
                            bd.style.width = sw + 'px';
                            hd.style.width = sw + 'px';
                        }
                    }, 10);
                }
            }
            
            /* If height is negative IE6 will give an error 'invalid argument' */
            if(typeof h == 'number'){
                var height = h - hd.parentNode.offsetHeight;
                if (height < 0) {
                    height = 0;
                }
                bdp.style.height = height + 'px';
            }
        }
    });
    The problem is that setting bdp.style.height to a negative height results in an error

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Can you highlight your changes in red for the benefit of readers?

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,828
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I can see why the error would happen if there's a negative height, but can you provide a test case that demonstrates the issue?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    This thread has remained in INFOREQ status for some time now and I don't see any test case posted as requested per http://extjs.com/forum/showthread.ph...947#post341947 or any new information posted.

    I'm going to update the status to CLOSED in absence of new information / test case. Please post again to have the issue reopened.

Thread Participants: 3

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