Changeset 7054
- Timestamp:
- 06/15/11 13:21:34 (2 years ago)
- File:
-
- 1 edited
-
CKEditor/trunk/_source/plugins/list/plugin.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/plugins/list/plugin.js
r6928 r7054 1 /*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license … … 108 108 if ( orgDir != rootNode.getDirection( 1 ) ) 109 109 currentListItem.setAttribute( 'dir', orgDir ); 110 else 111 currentListItem.removeAttribute( 'dir' ); 110 112 111 113 for ( var i = 0 ; i < item.contents.length ; i++ ) … … 151 153 152 154 if ( item.grandparent.getDirection( 1 ) != orgDir && currentListItem.type == CKEDITOR.NODE_ELEMENT ) 153 currentListItem.setAttribute( 'dir', orgDir ); 155 currentListItem.setAttribute( 'dir', orgDir ); 156 else 157 currentListItem.removeAttribute( 'dir' ); 154 158 155 159 for ( i = 0 ; i < item.contents.length ; i++ )
Note: See TracChangeset
for help on using the changeset viewer.
