Opened 14 years ago

Closed 14 years ago

#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


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 (1)

comment:1 Changed 14 years ago by mokhet

  • Component changed from Xinha Core to Plugin_Fullscreen
  • Resolution set to fixed
  • Status changed from new to closed

Good catch, I moved the resize handler to setEditorEvents() which was looking the more appropriate place.


Note: See TracTickets for help on using tickets.