Changeset 920


Ignore:
Timestamp:
11/06/07 20:32:28 (12 years ago)
Author:
wymsy
Message:

Restore another config feature accidentally disabled in rev 818

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r915 r920  
    26292629    edcellwidth -= parseInt(this.config.panel_dimensions.right, 10);     
    26302630  } 
    2631   this._iframe.style.width = edcellwidth + 'px'; 
     2631  var iframeWidth = (this.config.iframeWidth)? parseInt(this.config.iframeWidth,10): null;  
     2632  this._iframe.style.width = (iframeWidth && iframeWidth < edcellwidth)? iframeWidth + "px": edcellwidth + "px";  
    26322633 
    26332634  this._textArea.style.height = this._iframe.style.height; 
Note: See TracChangeset for help on using the changeset viewer.