Changeset 5792


Ignore:
Timestamp:
03/22/12 16:52:55 (12 years ago)
Author:
angelo
Message:

Ticket #2539 - Ao compartilhar pastas e clicar no botao Salvar o sistema nao fecha a tela de compartilhamento

File:
1 edited

Legend:

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

    r5479 r5792  
    182182                div.innerHTML           = this.xtools.parse(this.xtools.xml('sharedFolders'), 'sharedFolders.xsl', args ); 
    183183                div.setAttribute( "style","overflow:hidden"); 
     184                div.setAttribute("id","sharemailbox"); 
    184185                 
    185186                $(div).dialog( 
     
    197198                                                                        { 
    198199                                                                                $(this).dialog("destroy"); 
    199                                                                                 div.removeChild(div.firstChild); 
     200                                                                                div.removeChild(div.firstChild);         
    200201                                                                        }, 
    201202                                                                        style: "margin-top: -2.1em"  
     
    243244                                                                                                Element('em_input_saveAcl').disabled    = true; 
    244245 
     246                                                                                                $("#sharemailbox").empty(); 
     247                                                                                                $("#sharemailbox").dialog("destroy"); 
     248                                                                                                 
    245249                                                                                                write_msg(get_lang('Shared options saved with success')); 
     250 
    246251                                                                                        } 
    247252                                                                                } 
     253 
    248254                                                                                cExecute ("$this.imap_functions.setacl", handler_save, 'users='+attributes); 
     255                                                                                 
    249256                                                                        }, 
    250257                                                                        style: "margin-top: -2.1em"  
Note: See TracChangeset for help on using the changeset viewer.