Ticket #6253: 6253_2.patch
File 6253_2.patch, 752 bytes (added by , 14 years ago) |
---|
-
_source/plugins/list/plugin.js
304 304 contentBlock.appendTo( listItem ); 305 305 else 306 306 { 307 if ( contentBlock.hasAttribute( 'dir' ) )308 {309 dir = dir || contentBlock.getAttribute( 'dir' );310 contentBlock.removeAttribute( 'dir' );311 }312 307 contentBlock.copyAttributes( listItem ); 313 308 contentBlock.moveChildren( listItem ); 314 309 contentBlock.remove(); … … 321 316 listItem.appendTo( listNode ); 322 317 } 323 318 324 if ( dir )325 listNode.setAttribute( 'dir', dir );326 327 319 if ( insertAnchor ) 328 320 listNode.insertBefore( insertAnchor ); 329 321 else