Changeset 5280


Ignore:
Timestamp:
12/21/11 16:50:53 (11 years ago)
Author:
angelo
Message:

Ticket #2397 - Encolhimento das colunas das mensagens apos pesquisa rapida

File:
1 edited

Legend:

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

    r5249 r5280  
    596596 
    597597// stores the percentages of the cells 
    598 var colSizes = [ ["24","24","12","12","12","16","16","20%","*","11%","11%"], ["16","16","12","12","12","20%","20%","*","10%","10%"] ]; 
     598var colSizes = [ ["24","24","12","12","12","16","16","20%","58%","11%","11%"], ["16","16","12","12","12","20%","20%","*","10%","10%"] ]; 
    599599// stores the alignments of the cells 
    600600var colAligns = [ ['','','','','','','','left','left','center','center'], ['','','','','','left','left','left','center','center'] ]; 
     
    851851                } 
    852852        } 
     853         //bug do firefox ao redefinir os tamanhos das colunas 
     854         if (is_mozilla && !is_webkit){   
     855           var colgr = document.getElementById("colgroup_main_"+ (parseInt(numBox,10) + 1)); 
     856           if ( (colgr != null) && (colgr != undefined) ){ 
     857             tbM.removeChild(colgr); 
     858           for (var c=0;c<trM[r].cells.length;c++) { 
     859                         document.getElementById("colgroup_main_"+numBox).childNodes[c].setAttribute("width",colSizes[tbl][c]); 
     860          } 
     861       } 
     862         } 
    853863} 
    854864 
Note: See TracChangeset for help on using the changeset viewer.