Showing posts with label bug. Show all posts
Showing posts with label bug. Show all posts

Wednesday, April 2, 2008

ExtJS DatePicker patch for Firefox 3

ExtJS's DatePicker is broken in FF3 (for the time being up to RC1).

Here is a patch. This is for ExtJS 2.0.2.

ext-all-debug.js: after line 17999 insert the highlighted statement below:

el.className = "x-date-picker";
el.style.width = '10px';
el.innerHTML = m.join("");

ext-all.js is minified, so you have to search for "x-date-picker", then you'll see that the statement looks a bit different. Thus, we modify the patch also:
B.className="x-date-picker";B.style.width = '10px';B.innerHTML=C.join("");...