Opened 11 years ago
Closed 11 years ago
#13808 closed defect (fixed)
dijit.Editor disabled just before it is deleted causes javascript error
Reported by: | David Moore | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Editor | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If you disable a dijit.Editor just before you delete it, the following code in dijit/_editor/RichText.js causes an error:
if(preventIEfocus){ var _this = this; setTimeout(function(){ _this.editNode.unselectable = "off"; }, 0); }
as, when the timeout is triggered, _this.editNode no longer exists. It should check that _this.editNode exists before trying to set unselectable on it.
Change History (2)
comment:1 Changed 11 years ago by
Milestone: | tbd → 1.7 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In [26534]: