Changeset 6375 for sandbox


Ignore:
Timestamp:
06/01/12 10:22:25 (12 years ago)
Author:
gustavo
Message:

Ticket #2768 - Melhorias na criação de mensagens

File:
1 edited

Legend:

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

    r6374 r6375  
    38023802                                box.unbind("dblclick").bind("dblclick", function(e){ 
    38033803                                        new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do ldap\n' + 
    3804                                                 '<strong>Porém</strong>é possivel remove-lo', { 
     3804                                                '<strong>Porém</strong> é possivel remove-lo', { 
    38053805                                                'buttons':  false, 
    38063806                                                'modal': false, 
     
    38373837                drop : function(e, ui){ 
    38383838                        ui.draggable.parent().droppable( "enable" ); 
    3839                         var haha = ui.draggable.clone(); 
    3840                         box_actions(haha) 
    3841                         $(this).prepend(haha); 
     3839                        var box = ui.draggable.clone(); 
     3840                        box_actions(box); 
     3841                        if(box.find(".box-info").length){ 
     3842                                box.unbind("dblclick").bind("dblclick", function(e){ 
     3843                                        new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do ldap\n' + 
     3844                                                '<strong>Porém</strong>é possivel remove-lo', { 
     3845                                                'buttons':  false, 
     3846                                                'modal': false, 
     3847                                                'position': ['right - 20', 'top + 20'], 
     3848                                                'auto_close': 3000 
     3849                                        }); 
     3850                                }); 
     3851                        } 
     3852                        $(this).prepend(box); 
    38423853                        ui.draggable.remove(); 
    38433854                } 
Note: See TracChangeset for help on using the changeset viewer.