Ticket #6253: 6253_2.patch

File 6253_2.patch, 752 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/list/plugin.js

     
    304304                                contentBlock.appendTo( listItem );
    305305                        else
    306306                        {
    307                                 if ( contentBlock.hasAttribute( 'dir' ) )
    308                                 {
    309                                         dir = dir || contentBlock.getAttribute( 'dir' );
    310                                         contentBlock.removeAttribute( 'dir' );
    311                                 }
    312307                                contentBlock.copyAttributes( listItem );
    313308                                contentBlock.moveChildren( listItem );
    314309                                contentBlock.remove();
     
    321316                        listItem.appendTo( listNode );
    322317                }
    323318
    324                 if ( dir )
    325                         listNode.setAttribute( 'dir', dir );
    326 
    327319                if ( insertAnchor )
    328320                        listNode.insertBefore( insertAnchor );
    329321                else
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy