Changeset 5338


Ignore:
Timestamp:
01/10/12 10:15:36 (12 years ago)
Author:
thiago
Message:

Ticket #2425 - Permitir o foco na mensagem nos navegadores Firefox e Google Chrome

File:
1 edited

Legend:

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

    r5250 r5338  
    184184                                if(!opt['propagate']) { //Stop the event 
    185185                                        //e.cancelBubble is supported by IE - this will kill the bubbling process. 
     186                                        if ( Element('border_id_0') && Element('border_id_0').className != 'menu-sel' ){ 
     187                                                return false; 
     188                                        } 
    186189                                        e.cancelBubble = true; 
    187190                                        e.returnValue = false; 
    188191         
     192                                         
    189193                                        //e.stopPropagation works in Firefox. 
    190194                                        if (e.stopPropagation) { 
     195                                        if ( Element('border_id_0') && Element('border_id_0').className != 'menu-sel' ){ 
     196                                                return false; 
     197                                        } 
     198                                                 
    191199                                                e.stopPropagation(); 
    192200                                                e.preventDefault(); 
     
    194202                                        return false; 
    195203                                } 
     204                                 
    196205                        } 
    197206                } 
     
    224233 
    225234/* ExpressMail Functions */ 
     235 
    226236var shift_up_count = 0; 
    227237var shift_down_count = 0; 
     
    367377else 
    368378{ 
    369         shortcut.add("Up",function(){select_msg('null', 'up');},{'disable_in_input':false}); 
    370         shortcut.add("Down",function(){select_msg('null', 'down');},{'disable_in_input':false}); 
     379        shortcut.add("Up",function(){ 
     380                  select_msg('null', 'up'); 
     381        },{'disable_in_input':false}); 
     382         
     383        shortcut.add("Down",function(){ 
     384                  select_msg('null', 'down'); 
     385                 
     386        },{'disable_in_input':false}); 
    371387         
    372388        shortcut.add("Shift+down",function(){ 
     
    619635        } 
    620636} 
     637 
     638 
     639 
     640 
     641 
Note: See TracChangeset for help on using the changeset viewer.