Changeset 5685
- Timestamp:
- 07/09/10 18:26:22 (3 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (2 diffs)
-
_source/plugins/dialogui/plugin.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r5684 r5685 40 40 New features:</p> 41 41 <ul> 42 <li></li> 42 <li><a href="http://dev.fckeditor.net/ticket/5882">#5882</a> : New event dialog#selectPage like the OnDialogTabChange in FCKeditor.</li> 43 <li><a href="http://dev.fckeditor.net/ticket/5927">#5927</a> : The native controls in ui.dialog elements can be styled with a controlStyle definition.</li> 43 44 </ul> 44 45 <p> … … 65 66 <li><a href="http://dev.fckeditor.net/ticket/4997">#4997</a> : Provide better access to the native input in the ui.dialog.file element.</li> 66 67 <li><a href="http://dev.fckeditor.net/ticket/5914">#5914</a> : Modified the Smilies dialog to make active only the images and not their borders.</li> 67 <li><a href="http://dev.fckeditor.net/ticket/5882">#5882</a> : New event dialog#selectPage like the OnDialogTabChange in FCKeditor.</li>68 68 </ul> 69 69 <h3> -
CKEditor/trunk/_source/plugins/dialogui/plugin.js
r5682 r5685 237 237 attributes.size = elementDefinition.size; 238 238 239 if ( elementDefinition.controlStyle ) 240 attributes.style = elementDefinition.controlStyle; 241 239 242 // If user presses Enter in a text box, it implies clicking OK for the dialog. 240 243 var me = this, keyPressedOnMe = false; … … 376 379 if ( elementDefinition[ 'default' ] ) 377 380 attributes.checked = 'checked'; 381 382 if (typeof myDefinition.controlStyle != 'undefined') 383 myDefinition.style = myDefinition.controlStyle; 384 378 385 _.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes ); 379 386 html.push( ' <label id="', labelId, '" for="', attributes.id, '">', … … 454 461 cleanInnerDefinition( inputDefinition ); 455 462 cleanInnerDefinition( labelDefinition ); 463 464 if (typeof inputDefinition.controlStyle != 'undefined') 465 inputDefinition.style = inputDefinition.controlStyle; 466 456 467 children.push( new CKEDITOR.ui.dialog.uiElement( dialog, inputDefinition, inputHtml, 'input', null, inputAttributes ) ); 457 468 inputHtml.push( ' ' ); … … 611 622 } 612 623 624 if (typeof myDefinition.controlStyle != 'undefined') 625 myDefinition.style = myDefinition.controlStyle; 626 613 627 _.select = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'select', null, attributes, innerHTML.join( '' ) ); 614 628 return html.join( '' );
Note: See TracChangeset
for help on using the changeset viewer.
