Ticket #8407: 8407.patch

File 8407.patch, 1.1 KB (added by Garry Yao, 12 years ago)
  • _source/plugins/listblock/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    100100                                                                        ' href="javascript:void(\'', value, '\')" ' +
    101101                                                                        ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) +         // #188
    102102                                                                                '="CKEDITOR.tools.callFunction(', this._.getClick(), ',\'', value, '\'); return false;"',
    103                                                                         ' role="option"' +
    104                                                                         ' aria-posinset="' + ++this._.size + '">',
     103                                                                        ' role="option">',
    105104                                                                        html || value,
    106105                                                                '</a>' +
    107106                                                        '</li>' );
     
    122121                                        {
    123122                                                this._.close();
    124123                                                this.element.appendHtml( this._.pendingHtml.join( '' ) );
    125 
    126                                                 var items = this._.items,
    127                                                         doc = this.element.getDocument();
    128                                                 for ( var value in items )
    129                                                         doc.getById( items[ value ] + '_option' ).setAttribute( 'aria-setsize', this._.size );
    130124                                                delete this._.size;
    131125
    132126                                                this._.pendingHtml = [];
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy