-
18 Sep 2012 1:40 AM #1
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:
When you switch to the weekview, the dayheaders are not displayed:PHP Code:[COLOR=#004a43]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">[/COLOR]
asdf1.jpg
Do you know how to fix this. Unfortunately we really have to use the doctype strict in our application.
Best regards,
Bernd
-
18 Sep 2012 12:44 PM #2
Thanks for the report! I have opened a bug in our bug tracker.
Scott.
-
23 Sep 2012 12:14 AM #3
Hi Scott,
Thanks! Do you have an idea when approximately it will be fixed?
Cheers,
Bernd
-
1 Oct 2012 5:17 AM #4
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
-
1 Oct 2012 7:36 AM #5
I finally found the bug!
This override function should work:
originally it was:PHP Code:Ext.override(Ext.calendar.DayHeaderView, {
recalcHeaderBox: function() {
var tbl = this.el.child('.ext-cal-evt-tbl'),
h = tbl.getHeight();
this.el.setHeight(h + 7);
if (Ext.isStrict) {
this.el.child('.ext-cal-hd-ad-inner').setHeight(h + 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();
}
}
});
Cheers,PHP Code:if (Ext.isIE && Ext.isStrict) {
Bernd
-
20 Dec 2012 7:55 AM #6
Thanks

Fix working. (For me, it seems like ext4 standalone add a strict mode when in firefox, because my DTD is transitionnal)
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.


Reply With Quote