Changeset 535


Ignore:
Timestamp:
07/22/06 14:27:56 (13 years ago)
Author:
mokhet
Message:

fix for ticket #821 : move resize handler definition from initSize() to setEditorEvents()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r533 r535  
    17151715 
    17161716  // why can't we use the following line instead ? 
    1717 //  HTMLArea.addDom0Event(window, 'resize', this.sizeEditor); 
    1718   HTMLArea.addDom0Event(window, 'resize', function(e) { editor.sizeEditor(); }); 
    1719  
    1720   // why can't we use the following line instead ? 
    17211717//  this.notifyOn('panel_change',this.sizeEditor); 
    17221718  this.notifyOn('panel_change',function() { editor.sizeEditor(); }); 
     
    23832379        editor._onGenerate(); 
    23842380      } 
     2381 
     2382      HTMLArea.addDom0Event(window, 'resize', function(e) { editor.sizeEditor(); }); 
    23852383      editor.removeLoadingMessage(); 
    23862384    } 
Note: See TracChangeset for help on using the changeset viewer.