Changeset 488

Show
Ignore:
Timestamp:
07/30/07 00:00:26 (1 year ago)
Author:
ian
Message:

things are working in IE now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pagoda/branches/cleanslate/Pagoda/pagoda/widgets/admin/static/javascript/edit.js

    r482 r488  
    2828        // Create shadow effect surrounding center column 
    2929        //this.shadow = new Ext.Shadow({mode: 'frame', offset: 0}); 
    30         this.shadow = new Ext.Shadow(); 
     30        this.shadow = new Ext.Shadow({mode: 'frame'}); 
    3131 
    3232        // Create Resizeable east and west columns 
     
    5353 
    5454        // Automatically poll and resize iframe to fit contents 
    55         //this.iframeautosizer = new Ext.IFrameAutoSize(this.iframe, {poll_interval: 500}); 
     55        this.iframeautosizer = new Ext.IFrameAutoSize(this.iframe, {poll_interval: 500}); 
    5656 
    5757        // Add handler to resize column heights on iframe resize 
    58         //this.iframeautosizer.on('resize', this.resize.createDelegate(this)); 
     58        this.iframeautosizer.on('resize', this.resize.createDelegate(this)); 
    5959    }, 
    6060    // Hides page scrollbar on drag to prevent flicker 
     
    119119        if (!this.shadow.isVisible()) { 
    120120            this.shadow.show(this.center); 
     121            this.center.setStyle('z-index', 1000); 
     122            this.shadow.el.setStyle('z-index', 999); 
    121123        } 
    122         this.shadow.realign(this.center.getLeft()-7, 0, this.center.getWidth()+14, this.center.getHeight()); 
     124        this.shadow.realign(this.center.getLeft()-4, 0, this.center.getWidth()+8, this.center.getHeight()); 
    123125 
    124126        // After a buffer period (to prevent spurious resizing),  
  • pagoda/branches/cleanslate/Pagoda/pagoda/widgets/admin/static/javascript/iframe_autosize.js

    r482 r488  
    5353    // each time a page is loaded into the frame. 
    5454    Ext.EventManager.addListener(this.dom, 'load', this.iframePoll.createDelegate(this));  
     55 
     56    // Try autosizing right away 
     57    this.iframePoll(); 
    5558 
    5659} 
     
    128131            return body.offsetHeight; 
    129132        } 
    130     }, 
    131  
     133    } 
    132134}); 
    133135 

Log in as guest/pagoda to create tickets