PDA

View Full Version : Html className is overwritten



Goldfinch
8 Aug 2007, 3:20 AM
The Ext.onReady event doesn't correctly add the "ext-strict" class name to the html element, it simply replaces the existing class.

The line (which appears at line number 1666 in the ext-all-debug file):


p.className = p.className ? ' ext-strict' : 'ext-strict';

should be something like:


p.className = p.className ? p.className + ' ext-strict' : 'ext-strict';

Test system:

Ext v 1.1
Windows XP
Firefox 2.0.0.6 & IE 7

jack.slocum
8 Aug 2007, 9:19 AM
Thanks!