Ticket #4028: 4028_4_postfix.patch

File 4028_4_postfix.patch, 513 bytes (added by Tobiasz Cudnik, 15 years ago)
  • _source/core/ui.js

     
    6767        {
    6868                var item        = this._.items[ name ],
    6969                        handler = item && this._.handlers[ item.type ],
    70                         command = item.command && this._.editor.getCommand( item.command );
     70                        command = item && item.command && this._.editor.getCommand( item.command );
    7171
    7272                var result = handler && handler.create.apply( this, item.args );
    7373
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy