Changeset 4179
- Timestamp:
- 09/02/09 14:36:05 (4 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/image/dialogs/image.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r4178 r4179 60 60 <li><a href="http://dev.fckeditor.net/ticket/4262">#4262</a> : Tab and Shift+Tab was not working to cycle through CTRL+SHIFT+F10 context menu in IE.</li> 61 61 <li><a href="http://dev.fckeditor.net/ticket/3633">#3633</a> : Default context menu isn't disabled in toolbar, status bar, panels...</li> 62 <li><a href="http://dev.fckeditor.net/ticket/3897">#3897</a> : Now there is no image previews when the URL is empty in image dialog.</li> 62 63 </ul> 63 64 <h3> -
CKEditor/trunk/_source/plugins/image/dialogs/image.js
r4130 r4179 258 258 // Refresh LockRatio button 259 259 switchLockRatio ( this, true ); 260 } 261 262 // Dont show preview if no URL given. 263 if ( !CKEDITOR.tools.trim( this.getValueOf( 'info', 'txtUrl' ) ) ) 264 { 265 this.preview.removeAttribute( 'src' ); 266 this.preview.setStyle( 'display', 'none' ); 260 267 } 261 268 }, … … 404 411 var original = dialog.originalElement; 405 412 413 dialog.preview.removeStyle( 'display' ); 414 406 415 original.setCustomData( 'isReady', 'false' ); 407 416 // Show loader … … 417 426 418 427 updatePreview( dialog ); 428 } 429 // Dont show preview if no URL given. 430 else if ( dialog.preview ) 431 { 432 dialog.preview.removeAttribute( 'src' ); 433 dialog.preview.setStyle( 'display', 'none' ); 419 434 } 420 435 },
Note: See TracChangeset
for help on using the changeset viewer.
