Changeset 547


Ignore:
Timestamp:
08/07/06 11:24:37 (8 years ago)
Author:
mokhet
Message:

fix missing 'px' in prototype.sizeEditor() when config.sizeIncludesPanels was set to false

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r544 r547  
    17531753      if ( rPanel.on && rPanel.panels.length && HTMLArea.hasDisplayedChildren(rPanel.div) ) 
    17541754      { 
    1755         this._htmlArea.style.width = this._htmlArea.offsetWidth + parseInt(this.config.panel_dimensions.right, 10); 
     1755        this._htmlArea.style.width = (this._htmlArea.offsetWidth + parseInt(this.config.panel_dimensions.right, 10)) + 'px'; 
    17561756      } 
    17571757 
     
    17591759      if ( lPanel.on && lPanel.panels.length && HTMLArea.hasDisplayedChildren(lPanel.div) ) 
    17601760      { 
    1761         this._htmlArea.style.width = this._htmlArea.offsetWidth + parseInt(this.config.panel_dimensions.left, 10); 
     1761        this._htmlArea.style.width = (this._htmlArea.offsetWidth + parseInt(this.config.panel_dimensions.left, 10)) + 'px'; 
    17621762      } 
    17631763    } 
Note: See TracChangeset for help on using the changeset viewer.