PDA

View Full Version : v2 HTMLEditor bug



smpdawg
19 Jul 2007, 5:27 PM
Hi

I just grabbed the latest version from subversion and noticed that if I click in the body of the HTMLEditor or press any keys I get this error:



Ext.MenuMgr has no properties

Ext.MenuMgr.hideAll();this.syncValue();},relayBtnCmd:function(btn){this.relayCmd... Line 1866 ext-all.js


It seems that the only thing that is affected is that the buttons do not become disabled when the HTMLEditor loses focus. Other



FireFox 2.0.0.5, Vista, Ext2 Rev 762, ext-base

jack.slocum
19 Jul 2007, 10:12 PM
This has been corrected. In the future please post prerelease issues in the prerelease discussion forum. Thanks!

Snape
4 Aug 2007, 11:51 AM
I get the same error on MSIE only (!) with official 1.1 if I use "enableColors: false". This does not happen always, seems like html layout affects it. Absolutely the same js file works fine with samples but does not work with complex table/div layout controlled by css.

Error happens in Ext.menu.MenuMgr, function hideAll(). The code now looks like:

if(active.length > 0){
but should look like:

if(active && active.length > 0){

jack.slocum
4 Aug 2007, 12:44 PM
Yes indeed. Thank you Snape.