View Full Version : [CLOSED] something wrong with Ext.destroyMembers method invoke

12 Oct 2011, 7:26 PM
Ext.destroyMembers = function(o){
for (var i = 1, a form wi00252nts, len = a.length; i < len; i++) {:sh=8759ade1 alert(o[a[i]])
delete o[a[i]];

this is the define of Ext.destroyMembers , but in the htmlEditor and 3 three more point this the source, Ext write like this

Ext.destroyMembers('tb', 'toolbarWrap', 'iframeEl', 'textareaEl');

is this right? this mean 'tb'['toolbarWrap'] , it alway undefined, i think this would be like this :

var me = this;
Ext.destroyMembers(me,'tb', 'toolbarWrap', 'iframeEl', 'textareaEl');

this form will delete property tb toolbarWrap iframeEl textareEl in the htmlEditor.

12 Oct 2011, 7:32 PM
Thanks for the report, these have already been resolved for 4.1.

12 Oct 2011, 11:42 PM
I come from china Zheng zhou university, and i love ExtJs very much , it is very beautifully just like Qt , I can not hold myself to read the source file line by line . when I find some other bug , i will post it .