Changeset 6670


Ignore:
Timestamp:
06/28/12 11:24:47 (12 years ago)
Author:
thiago
Message:

Ticket #2908 - Problema abrir a tela de busca rapida com algum parametro fornecido.

File:
1 edited

Legend:

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

    r6667 r6670  
    1111focusIn = ""; 
    1212canMakeBox = true; 
     13fastSearch = false; 
    1314 
    1415onceOpenedHeadersMessages = {}; 
     
    37763777                // Função para monstar a caixinha de e-mail. 
    37773778                function makeBoxMail(){ 
    3778                         if(canMakeBox){ 
     3779                        if(canMakeBox && !fastSearch){ 
    37793780                                if(!(   f9      ||      click   ||      $(this).parents("tr:first").find("button").hasClass("ui-state-active")  )){ 
    37803781                                        if($(input).val() != "") 
     
    37883789                                click = false; 
    37893790                        } 
     3791                        canMakeBox = true; 
     3792                        fastSearch = false; 
    37903793                } 
    37913794                 
     
    41644167        div.parents("tr:first").find("button").button().click(function(){ 
    41654168                click = true; 
     4169                fastSearch = true; 
    41664170                if(!$(":focus").hasClass("new-message-input")) 
    41674171                        emQuickSearch(($(this).parents("tr:first").find("input").val() ? $(this).parents("tr:first").find("input").val() : input_search), "."+$(this).parents("tr:first").attr('class').split("-")[0], ID, undefined, true); 
Note: See TracChangeset for help on using the changeset viewer.