Changeset 6972 for CKEditor/trunk
- Timestamp:
- 05/25/11 17:58:19 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/listblock/plugin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r6971 r6972 79 79 <li><a href="http://dev.ckeditor.com/ticket/7637">#7637</a> : Cursor position problematic after inserting page break in some cases.</li> 80 80 <li><a href="http://dev.ckeditor.com/ticket/188">#188</a> : [IE] Objects selection were making the toolbar inactive on some situations.</li> 81 <li><a href="http://dev.ckeditor.com/ticket/5314">#5314</a> : The aria-selected attribute was not been removed when rich combo box list items were deselected.</li> 81 82 <li>Updated the following language files:<ul> 82 83 <li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li> -
CKEditor/trunk/_source/plugins/listblock/plugin.js
r6971 r6972 203 203 unmark : function( value ) 204 204 { 205 this.element.getDocument().getById( this._.items[ value ] ).removeClass( 'cke_selected' ); 206 this.onUnmark && this.onUnmark( this._.items[ value ] ); 205 var doc = this.element.getDocument(), 206 itemId = this._.items[ value ], 207 item = doc.getById( itemId ); 208 209 item.removeClass( 'cke_selected' ); 210 doc.getById( itemId + '_option' ).removeAttribute( 'aria-selected' ); 211 212 this.onUnmark && this.onUnmark( item ); 207 213 }, 208 214 … … 214 220 for ( var value in items ) 215 221 { 216 doc.getById( items[ value ] ).removeClass( 'cke_selected' ); 222 var itemId = items[ value ]; 223 224 doc.getById( itemId ).removeClass( 'cke_selected' ); 225 doc.getById( itemId + '_option' ).removeAttribute( 'aria-selected' ); 217 226 } 218 227
Note: See TracChangeset
for help on using the changeset viewer.
