| Summary: | possible timeout binding bug in textView | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Susan McCourt <susan> |
| Component: | Editor | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Silenio_Quarti |
| Version: | 0.5 | ||
| Target Milestone: | 2.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
I was looking at some TextView source code as I "un-dojoize" one of my UI components. I was looking to see how you handled binding in a timeout for anonymous functions. I noticed this anomaly at line 3173 in handlePaste which looks like a bug: setTimeout(function() { self._updateDOMSelection(); this._ignoreFocus = false; }, 0); (the use of this. vs. self)