Ticket #2016: 2016.patch
File 2016.patch, 2.0 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
67 67 Fixed XHTML source formatting errors in non-IE browsers.</li> 68 68 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # 69 69 character is now properly encoded in file names returned by the File Browser.</li> 70 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link 71 dialog now properly select the first field when opening it to modify mailto or anchor 72 links. This problem was also throwing an error in IE.</li> 70 73 </ul> 71 74 <h3> 72 75 Version 2.6 Beta 1</h3> -
editor/dialog/common/fck_dialog_common.js
104 104 { 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 110 113 // Functions used by text fields to accept numbers only. -
editor/dialog/fck_link/fck_link.js
159 159 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 165 180 var bHasAnchors ;