Changeset 1718
- Timestamp:
- 2008-03-18 10:09:43 (4 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/dialog/common/fck_dialog_common.js (modified) (1 diff)
-
editor/dialog/fck_link/fck_link.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/dialog/common/fck_dialog_common.js
r1629 r1718 105 105 var element = GetE( elementId ) ; 106 106 element.focus() ; 107 element.select() ; 107 108 // element.select may not be available for some fields (like <select>). 109 if ( element.select ) 110 element.select() ; 108 111 } 109 112 -
FCKeditor/trunk/editor/dialog/fck_link/fck_link.js
r1565 r1718 160 160 // Activate the "OK" button. 161 161 dialog.SetOkButton( true ) ; 162 SelectField( 'txtUrl' ) ; 162 163 // Select the first field. 164 switch( GetE('cmbLinkType').value ) 165 { 166 case 'url' : 167 SelectField( 'txtURL' ) ; 168 break ; 169 case 'email' : 170 SelectField( 'txtEMailAddress' ) ; 171 break ; 172 case 'anchor' : 173 if ( GetE('divSelAnchor').style.display != 'none' ) 174 SelectField( 'cmbAnchorName' ) ; 175 else 176 SelectField( 'cmbLinkType' ) ; 177 } 163 178 } 164 179 -
FCKeditor/trunk/_whatsnew.html
r1717 r1718 85 85 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal 86 86 CSS <style> tags where being outputted when FullPage=true.</li> 87 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link 88 dialog now properly select the first field when opening it to modify mailto or anchor 89 links. This problem was also throwing an error in IE.</li> 87 90 </ul> 88 91 <h3>