Changeset 135


Ignore:
Timestamp:
12/13/07 13:26:04 (16 years ago)
Author:
niltonneto
Message:

Correções de bug. Vide ocorrências no Trac para a versão 1.2201

Location:
trunk/expressoMail1_2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/index.php

    r132 r135  
    146146<script src="js/connector.js?<?=$update_version?>" type="text/javascript"></script> 
    147147<script src="../phpgwapi/js/dftree/dftree.js?<?=$update_version?>" type="text/javascript"></script> 
    148 <script language="Javascript">init();</script> 
     148<script language="Javascript">connector.updateVersion = "<?=$update_version?>";init();</script> 
    149149<!-----Expresso Mail - Version Updated:<?=$update_version?>--------> 
  • trunk/expressoMail1_2/js/connector.js

    r2 r135  
    4040                this.oldX = 0; 
    4141                this.oldY = 0; 
     42                this.updateVersion = ""; 
    4243        } 
    4344         
     
    449450                if(is_ie) { 
    450451                 
    451                         this.oxmlhttp.open("GET", "js/"+scriptPath+".js", false); 
     452                        this.oxmlhttp.open("GET", "js/"+scriptPath+".js?"+this.updateVersion, false); 
    452453            this.oxmlhttp.setRequestHeader('Content-Type','text/plain'); 
    453454                        this.oxmlhttp.send(null); 
     
    457458                } 
    458459                else { 
    459                         script.src =  "js/"+scriptPath+".js"; 
     460                        script.src =  "js/"+scriptPath+".js?"+this.updateVersion; 
    460461                } 
    461462 
  • trunk/expressoMail1_2/js/main.js

    r128 r135  
    194194                        if (msg_to_delete){ 
    195195                                if ( (msg_to_delete.style.backgroundColor != '') && (preferences.use_shortcuts == '1') ) 
    196                                         select_msg('null', 'down'); 
     196                                { 
     197                                        if (!select_msg('null', 'down')) 
     198                                                select_msg('null', 'up') 
     199                                } 
    197200                                mail_msg.removeChild(msg_to_delete); 
    198201                        } 
     
    735738        var y = ((screen.height - 400) / 2) - 35; 
    736739        var window_print = window.open('','ExpressoMail','width='+print_width+',height=400,resizable=yes,scrollbars=yes,left='+x+',top='+y); 
    737                  
     740        if(window_print == null) { 
     741                alert(get_lang("The Anti Pop-Up is enabled. Allow this site (%1) for print.",document.location.hostname)); 
     742                return; 
     743        } 
     744         
    738745        while (1){ 
    739746                try{ 
  • trunk/expressoMail1_2/js/shortcut.js

    r128 r135  
    237237                        if (all_messages[i].style.backgroundColor != '') 
    238238                        { 
    239                                 delete_msgs('INBOX', all_messages[i].id, 'null'); 
     239                                delete_msgs(get_current_folder(), all_messages[i].id, 'null'); 
    240240                                return; 
    241241                        } 
     
    323323                        if (all_messages[i].style.backgroundColor != '') 
    324324                        { 
    325                                 if ( (keyboard_action == 'down') && (i+1 <= all_messages.length-1) ) 
     325                                if (keyboard_action == 'down') 
    326326                                { 
    327                                         all_messages[i].style.color = ''; 
    328                                         all_messages[i].style.backgroundColor = ''; 
     327                                        if (i+1 <= all_messages.length-1) 
     328                                        { 
     329                                                all_messages[i].style.color = ''; 
     330                                                all_messages[i].style.backgroundColor = ''; 
    329331                                 
    330                                         all_messages[i+1].style.color = 'white'; 
    331                                         all_messages[i+1].style.backgroundColor = '#5194d2'; 
     332                                                all_messages[i+1].style.color = 'white'; 
     333                                                all_messages[i+1].style.backgroundColor = '#5194d2'; 
     334                                        } 
     335                                        else 
     336                                        { 
     337                                                return false; 
     338                                        } 
    332339                                } 
    333340                                else if ( (keyboard_action == 'up') && (i-1 >= 0) ) 
Note: See TracChangeset for help on using the changeset viewer.