Ticket #2772: 2772.patch

File 2772.patch, 981 bytes (added by Martin Kou, 16 years ago)
  • _source/plugins/image/dialogs/image.js

     
    407407                        var imgObject = this.editObj[ 'image' ];
    408408
    409409                        // Fill out all fields.
    410                         if ( !readAttribute.apply( this, [ 'info', '_cke_saved_url', 'txtUrl', imgObject ] ) )
     410                        if ( !readAttribute.apply( this, [ 'info', '_cke_saved_src', 'txtUrl', imgObject ] ) )
    411411                                readAttribute.apply( this, [ 'info', 'src', 'txtUrl', imgObject ] )
    412412       
    413413                        readAttribute.apply( this, [ 'info', 'alt', 'txtAlt', imgObject ] );
     
    733733                                                                                validate : function()
    734734                                                                                {
    735735                                                                                        addChange( 'src', this, 'image' );
    736                                                                                         addChange( '_cke_saved_url', this, 'image' );
     736                                                                                        addChange( '_cke_saved_src', this, 'image' );
    737737                                                                                        return true;
    738738                                                                                },
    739739                                                                                onChange : function(){
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy