Changeset 6527


Ignore:
Timestamp:
06/15/12 16:31:13 (12 years ago)
Author:
gustavo
Message:

Ticket #2766 - Preparativos para fazer o merge com o trunk da comunidade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.1-3/expressoMail1_2/js/draw_api.js

    r6512 r6527  
    35923592                                return false; 
    35933593                        } 
     3594                         
     3595                        if(e.keyCode == $.ui.keyCode.DELETE && $( this ).data( "catcomplete" ).menu.active){ 
     3596                                if($($( this ).data( "catcomplete" ).menu.element).find(".ui-state-hover").parents("li:first").hasClass("dynamic-recent")) 
     3597                                        $($( this ).data( "catcomplete" ).menu.element).find(".ui-state-hover").next().trigger("click"); 
     3598                                return false; 
     3599                        } 
    35943600                } 
    35953601                //BUSCA COM A TECLA F9 
     
    37953801         
    37963802        if(group){ 
    3797                 DataLayer.read("/group/"+value, {}, function(data){ 
     3803                REST.get("/group/"+value, {}, function(data){ 
    37983804                        if(!data.error){ 
    37993805                                if(data.collection.error) 
     
    38233829         
    38243830        if(personal){ 
    3825                 DataLayer.read("/contact/"+value, {}, function(data){ 
     3831                REST.get("/contact/"+value, {}, function(data){ 
    38263832                        if(!data.error){ 
    38273833                                if(data.collection.error) 
     
    38503856        } 
    38513857         
    3852         DataLayer.read("/usersldap", {field : ldap_id,value: value}, function(data){ 
     3858        REST.get("/usersldap", {field : ldap_id,value: value}, function(data){ 
    38533859                if(!data.error){ 
    38543860                        if(data.collection.error) 
     
    39793985                //MONTAGEM DA LISTA DE CONTATOS DINÂMICOS DO AUTO COMPLETE 
    39803986                .data( "catcomplete" )._renderItem = function( ul, item ) { 
    3981                         ul.css({"min-width":"400px", "width":"50%", "max-height" : "180px", "overflow-y" : "auto"}); 
     3987                        ul.css({"min-width":"400px", "width":"50%", "max-height" : "180px", "overflow-y" : "auto", "min-height": "30px"}); 
    39823988                        var listContacts = DataLayer.render("../prototype/modules/mail/templates/listContacts.ejs", item); 
    39833989                        return $(listContacts).data( "item.autocomplete", item ).appendTo( ul ).find("span:last").button({ 
     
    39974003                                                        if(caption == 'Sim'){ 
    39984004                                                                $(removeLi).remove(); 
    3999                                                                 DataLayer.delete("/dynamiccontact/"+item.id); 
     4005                                                                REST.delete("/dynamiccontact/"+item.id); 
    40004006                                                                updateDynamicContact(); 
    40014007                                                                updateDynamicContactList(); 
Note: See TracChangeset for help on using the changeset viewer.