Ticket #2964: 2964_3.patch

File 2964_3.patch, 800 bytes (added by Garry Yao, 15 years ago)
  • _source/plugins/image/dialogs/image.js

     
    447447                                                                                        label : editor.lang.common.browseServer,
    448448                                                                                        onLoad : function()
    449449                                                                                        {
    450                                                                                                 if ( this.getDialog().getParentEditor().config.image_browseServer == false )
    451                                                                                                         this.getContentElement( 'info', 'browse' ).getElement().hide();
     450                                                                                                var dialog = this.getDialog();
     451                                                                                                if ( dialog.getParentEditor().config.image_browseServer == false )
     452                                                                                                        dialog.getContentElement( 'info', 'browse' ).getElement().hide();
    452453                                                                                        },
    453454                                                                                        onClick : function()
    454455                                                                                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy