leveille
4 Aug 2007, 12:35 PM
Long time lurker, first time poster. Awesome product.
I am using Ext 1.1 Stable, building an HtmlEditor as a component w/in a LayoutDialog. I receive the following error when I click in the textArea of the HtmlEditor:
_2 has no properties
ext-all.js
Line 166
Line 166 refers to the MenuMgr:
Ext.menu.MenuMgr=function(){var _1,_2,_3={},_4=false,_5=new Date();function init...
From what I can guess the application is having a difficult time passing my property list to the second parameter of the anonymous function. The offending code can be seen below (note: I don't receive this error and my application works fine if I remove any of the two properties highlighted in red below).
...
HtmlEditor = new Ext.form.HtmlEditor({
enableFontSize: false,
enableColors: false,
enableFont: false,
name: 'bai-body',
value: data
});
HtmlEditor.setSize(570, 310);
HtmlEditor.render('bai-center');
dialog.show(animate.dom);
I appreciate anyone taking the time to respond. And thanks to Jack and the Ext team for such an amazing product.
I am using Ext 1.1 Stable, building an HtmlEditor as a component w/in a LayoutDialog. I receive the following error when I click in the textArea of the HtmlEditor:
_2 has no properties
ext-all.js
Line 166
Line 166 refers to the MenuMgr:
Ext.menu.MenuMgr=function(){var _1,_2,_3={},_4=false,_5=new Date();function init...
From what I can guess the application is having a difficult time passing my property list to the second parameter of the anonymous function. The offending code can be seen below (note: I don't receive this error and my application works fine if I remove any of the two properties highlighted in red below).
...
HtmlEditor = new Ext.form.HtmlEditor({
enableFontSize: false,
enableColors: false,
enableFont: false,
name: 'bai-body',
value: data
});
HtmlEditor.setSize(570, 310);
HtmlEditor.render('bai-center');
dialog.show(animate.dom);
I appreciate anyone taking the time to respond. And thanks to Jack and the Ext team for such an amazing product.