id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking 4297,dijit.form.Textarea does not destroy properly,guest,Douglas Hays,"I'm working on an application that regularly replaces the contents of a TitlePane. If there is a textarea inside existing content, it does not destroy cleanly in FF2/Linux, instead throwing an exception: ""Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMEventTarget.removeEventListener]"" This happens with both 0.9 and trunk. I put together a test case. Sorry if it's a bit long (was weeding down an existing application). To reproduce: 1. save test.html and test2.html into a directory, and adjust the script path and stylesheet path to your Dojo tree. 2. Load test.html in your browser. 3. Open the Project List title pane, and click either project. This creates a new titlepane with contents loaded from test2.html. 4. Re-open the project list title pane (the script closes it), and click a project again. Result: Exception thrown. Note that you can click a link again and it works. test.html: {{{

Project

Some content here

Menu

©2007

Form to choose an item goes here.



}}} test2.html: {{{

loaded project name


Notes


}}} Ask freelock in IRC if you need more info...",defect,closed,high,1.0,Dijit - Form,0.9,fixed,,,,