Ticket #821 (closed defect: fixed)
Adding resize handler in initSize() results in multiple resize handlers
| Reported by: | bobesch | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Plugin_Fullscreen | Version: | trunk |
| Severity: | normal | Keywords: | resize initSize fullscreen |
| Cc: |
Description
The FullScreen? plugin calls editor.initSize() when downsizing. As initSize() adds the resize handler to 'window', each time you come from fullscreen mode another resize handler gets added. Fixing this problem seems rather simple: Add the resize handler one level up the calling stack, i.e. in generate().
Change History
Note: See
TracTickets for help on using
tickets.
