Changeset 1730 for FCKeditor/trunk
- Timestamp:
- 03/19/08 10:24:45 (5 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 edited
-
_whatsnew.html (modified) (1 diff)
-
editor/_source/classes/fckpanel.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_whatsnew.html
r1729 r1730 95 95 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting 96 96 ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> 97 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed the 98 issue where context menus sometimes don't disappear after selecting an option. 99 </li> 97 100 </ul> 98 101 <h3> -
FCKeditor/trunk/editor/_source/classes/fckpanel.js
r1686 r1730 271 271 } ) ; 272 272 273 // Move the focus to the IFRAME so we catch the "onblur". 274 this._IFrame.contentWindow.focus() ; 275 this._IsOpened = true ; 276 273 277 var me = this ; 274 var resizeFunc = function() 275 { 276 var iWidth = eMainNode.offsetWidth || eMainNode.firstChild.offsetWidth ; 277 var iHeight = eMainNode.offsetHeight ; 278 me._IFrame.width = iWidth ; 279 me._IFrame.height = iHeight ; 280 281 // Move the focus to the IFRAME so we catch the "onblur". 282 me._IFrame.contentWindow.focus() ; 283 me._IsOpened = true ; 284 } 285 setTimeout( resizeFunc, 1 ) ; 278 this._resizeTimer = setTimeout( function() 279 { 280 var iWidth = eMainNode.offsetWidth || eMainNode.firstChild.offsetWidth ; 281 var iHeight = eMainNode.offsetHeight ; 282 me._IFrame.width = iWidth ; 283 me._IFrame.height = iHeight ; 284 285 }, 0 ) ; 286 286 287 287 FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel = this ; … … 309 309 310 310 this._IsOpened = false ; 311 312 if ( this._resizeTimer ) 313 { 314 clearTimeout( this._resizeTimer ) ; 315 this._resizeTimer = null ; 316 } 311 317 312 318 if ( this.ParentPanel )
Note: See TracChangeset
for help on using the changeset viewer.
