You found a bug! We've classified it as EXTJSIII-86 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2007
    Posts
    45
    Vote Rating
    0
    bernd01 is on a distinguished road

      0  

    Default Calendar in Firefox with doctype strict

    Calendar in Firefox with doctype strict


    Hi,

    I just figured out, that the calendar example does not work in Firefox when doctype strict is defined:
    PHP Code:
    [COLOR=#004a43]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">[/COLOR] 
    When you switch to the weekview, the dayheaders are not displayed:

    asdf1.jpg


    Do you know how to fix this. Unfortunately we really have to use the doctype strict in our application.

    Best regards,
    Bernd

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2007
    Posts
    45
    Vote Rating
    0
    bernd01 is on a distinguished road

      0  

    Default


    Hi Scott,

    Thanks! Do you have an idea when approximately it will be fixed?

    Cheers,
    Bernd

  4. #4
    Sencha Premium Member
    Join Date
    Dec 2007
    Posts
    45
    Vote Rating
    0
    bernd01 is on a distinguished road

      0  

    Default


    Hi,

    I know, there is a lot work at your side, but do you know approximately, when this bug will be solved?
    I really would need it urgently...

    Or can you give me a hint, were to start looking, to fix it myself?
    Will it be somewhere in the javascript or the css fils of the calendar?

    Thanks a lot and best regards,
    Bernd

  5. #5
    Sencha Premium Member
    Join Date
    Dec 2007
    Posts
    45
    Vote Rating
    0
    bernd01 is on a distinguished road

      0  

    Default


    I finally found the bug!

    This override function should work:
    PHP Code:
    Ext.override(Ext.calendar.DayHeaderView, {
        
    recalcHeaderBox: function() {
            var 
    tbl this.el.child('.ext-cal-evt-tbl'),
            
    tbl.getHeight();


            
    this.el.setHeight(7);


            if (
    Ext.isStrict) {
                
    this.el.child('.ext-cal-hd-ad-inner').setHeight(4);
            }
            if (
    Ext.isOpera) {
    //TODO: figure out why Opera refuses to refresh height when
    //the new height is lower than the previous one
    //            var ct = this.el.child('.ext-cal-hd-ct');
                //            ct.repaint();
                
    }
        }
    }); 
    originally it was:
    PHP Code:
    if (Ext.isIE && Ext.isStrict) { 
    Cheers,
    Bernd

  6. #6
    Sencha User
    Join Date
    Jun 2008
    Posts
    69
    Vote Rating
    0
    pouniok is on a distinguished road

      0  

    Default


    Thanks

    Fix working. (For me, it seems like ext4 standalone add a strict mode when in firefox, because my DTD is transitionnal)

Thread Participants: 2

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