Ticket #2173: 2173.patch

File 2173.patch, 3.1 KB (added by alfonsoml, 23 months ago)

Proposed SVN patch

  • _whatsnew.html

     
    3939        <ul> 
    4040                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2142">#2142</a>] HTML samples will 
    4141                now use sampleposteddata.php in action parameter inside a form.</li> 
     42                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber will 
     43                        be shown in the Quick Uploads.</li> 
    4244        </ul> 
    4345        <p> 
    4446                Fixed Bugs:</p> 
  • editor/dialog/fck_flash/fck_flash.js

     
    236236 
    237237function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 
    238238{ 
     239        // Remove animation 
     240        window.parent.Throbber.Hide() ; 
     241        GetE( 'divUpload' ).style.display  = '' ; 
     242 
    239243        switch ( errorNumber ) 
    240244        { 
    241245                case 0 :        // No errors 
     
    288292                return false ; 
    289293        } 
    290294 
     295        // Show animation 
     296        window.parent.Throbber.Show( 100 ) ; 
     297        GetE( 'divUpload' ).style.display  = 'none' ; 
     298 
    291299        return true ; 
    292300} 
  • editor/dialog/fck_image/fck_image.js

     
    447447 
    448448function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 
    449449{ 
     450        // Remove animation 
     451        window.parent.Throbber.Hide() ; 
     452        GetE( 'divUpload' ).style.display  = '' ; 
     453 
    450454        switch ( errorNumber ) 
    451455        { 
    452456                case 0 :        // No errors 
     
    500504                return false ; 
    501505        } 
    502506 
     507        // Show animation 
     508        window.parent.Throbber.Show( 100 ) ; 
     509        GetE( 'divUpload' ).style.display  = 'none' ; 
     510 
    503511        return true ; 
    504512} 
  • editor/dialog/fck_link/fck_link.js

     
    650650 
    651651function SetUrl( url ) 
    652652{ 
    653         document.getElementById('txtUrl').value = url ; 
     653        GetE('txtUrl').value = url ; 
    654654        OnUrlChange() ; 
    655655        dialog.SetSelectedTab( 'Info' ) ; 
    656656} 
    657657 
    658658function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 
    659659{ 
     660        // Remove animation 
     661        window.parent.Throbber.Hide() ; 
     662        GetE( 'divUpload' ).style.display  = '' ; 
     663 
    660664        switch ( errorNumber ) 
    661665        { 
    662666                case 0 :        // No errors 
     
    709713                return false ; 
    710714        } 
    711715 
     716        // Show animation 
     717        window.parent.Throbber.Show( 100 ) ; 
     718        GetE( 'divUpload' ).style.display  = 'none' ; 
     719 
    712720        return true ; 
    713721} 
    714722 
  • editor/fckdialog.html

     
    273273                                timer = null ; 
    274274                        } 
    275275 
    276                         var throbberParent = document.getElementById( 'throbberBlock' ) ; 
    277                         if ( throbberParent ) 
    278                                 FCKDomTools.RemoveNode( throbberParent ) ; 
     276                        $( 'throbberBlock' ).style.visibility = 'hidden' ; 
    279277                } 
    280278        } ; 
    281279}() ;