Ticket #4028: 4028_4_postfix.patch

File 4028_4_postfix.patch, 513 bytes (added by Tobiasz Cudnik, 10 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy