Ticket #2173: 2173_2.patch
File 2173_2.patch, 4.3 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
51 51 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2163">#2163</a>] If the FCKConfig.DocType 52 52 setting points to a HTML DocType then the output won't generate self-closing tags (it will output 53 53 <img > instead of <img />).</li> 54 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber will 55 be shown in the Quick Uploads.</li> 54 56 </ul> 55 57 <p> 56 58 Fixed Bugs:</p> -
editor/dialog/fck_flash/fck_flash.js
236 236 237 237 function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 238 238 { 239 // Remove animation 240 window.parent.Throbber.Hide() ; 241 GetE( 'divUpload' ).style.display = '' ; 242 239 243 switch ( errorNumber ) 240 244 { 241 245 case 0 : // No errors … … 288 292 return false ; 289 293 } 290 294 295 // Show animation 296 window.parent.Throbber.Show( 100 ) ; 297 GetE( 'divUpload' ).style.display = 'none' ; 298 291 299 return true ; 292 300 } -
editor/dialog/fck_image/fck_image.js
447 447 448 448 function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 449 449 { 450 // Remove animation 451 window.parent.Throbber.Hide() ; 452 GetE( 'divUpload' ).style.display = '' ; 453 450 454 switch ( errorNumber ) 451 455 { 452 456 case 0 : // No errors … … 500 504 return false ; 501 505 } 502 506 507 // Show animation 508 window.parent.Throbber.Show( 100 ) ; 509 GetE( 'divUpload' ).style.display = 'none' ; 510 503 511 return true ; 504 512 } -
editor/dialog/fck_link/fck_link.js
650 650 651 651 function SetUrl( url ) 652 652 { 653 document.getElementById('txtUrl').value = url ;653 GetE('txtUrl').value = url ; 654 654 OnUrlChange() ; 655 655 dialog.SetSelectedTab( 'Info' ) ; 656 656 } 657 657 658 658 function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 659 659 { 660 // Remove animation 661 window.parent.Throbber.Hide() ; 662 GetE( 'divUpload' ).style.display = '' ; 663 660 664 switch ( errorNumber ) 661 665 { 662 666 case 0 : // No errors … … 709 713 return false ; 710 714 } 711 715 716 // Show animation 717 window.parent.Throbber.Show( 100 ) ; 718 GetE( 'divUpload' ).style.display = 'none' ; 719 712 720 return true ; 713 721 } 714 722 -
editor/fckdialog.html
245 245 246 246 var throbberParent = $( 'throbberBlock' ) ; 247 247 248 // Create the throbber blocks. 249 var classIds = [ 1,2,3,4,5,4,3,2 ] ; 250 while ( classIds.length > 0 ) 251 throbberParent.appendChild( document.createElement( 'div' ) ).className = ' throbber_' + classIds.shift() ; 248 if (throbberParent.childNodes.length == 0) 249 { 250 // Create the throbber blocks. 251 var classIds = [ 1,2,3,4,5,4,3,2 ] ; 252 while ( classIds.length > 0 ) 253 throbberParent.appendChild( document.createElement( 'div' ) ).className = ' throbber_' + classIds.shift() ; 254 } 252 255 253 256 // Center the throbber. 254 257 var frm = $( 'contents' ) ; … … 261 264 // Show it. 262 265 throbberParent.style.visibility = '' ; 263 266 267 // Hide tabs and buttons: 268 $( 'Tabs' ).style.visibility = 'hidden' ; 269 $( 'PopupButtons' ).style.visibility = 'hidden' ; 270 264 271 // Setup the animation interval. 265 272 timer = setInterval( updateThrobber, 100 ) ; 266 273 }, … … 273 280 timer = null ; 274 281 } 275 282 276 var throbberParent = document.getElementById( 'throbberBlock' ) ; 277 if ( throbberParent ) 278 FCKDomTools.RemoveNode( throbberParent ) ; 283 $( 'throbberBlock' ).style.visibility = 'hidden' ; 284 285 // Show tabs and buttons: 286 $( 'Tabs' ).style.visibility = '' ; 287 $( 'PopupButtons' ).style.visibility = '' ; 279 288 } 280 289 } ; 281 290 }() ;