Ignore:
Timestamp:
02/27/13 12:10:11 (11 years ago)
Author:
cristiano
Message:

Ticket #3360 - Verificar inconsistência na exibição de alertas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/connector.js

    r7748 r7915  
    451451        { 
    452452                var div = document.getElementById('divProgressBar'); 
    453                 div.style.visibility = 'hidden'; 
    454                 this.isVisibleBar = false; 
     453 
     454        if(div) 
     455        { 
     456            div.style.visibility = 'hidden'; 
     457            this.isVisibleBar = false; 
     458        } 
    455459        } 
    456460         
    457461        cConnector.prototype.showProgressBar = function(){ 
     462 
    458463                var div = document.getElementById('divProgressBar'); 
    459                 div.style.visibility = 'visible';                        
    460  
    461                 this.isVisibleBar = true; 
     464                if(div) 
     465        { 
     466            div.style.visibility = 'visible'; 
     467            this.isVisibleBar = true; 
     468        } 
    462469        } 
    463470 
Note: See TracChangeset for help on using the changeset viewer.