this.destroyRendering(); if(!this.isClosed){ this.close(false); } this.inherited("destroy",arguments); //dijit._editor.RichText.superclass.destroy.call(this);