Changeset 4992 for trunk/phpgwapi


Ignore:
Timestamp:
08/26/11 13:47:23 (13 years ago)
Author:
roberto.santosjunior
Message:

Ticket #1820 - Compartilhamento da agenda nao e efetivado quando realizado.r4948

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/templates/default/js/listUsers.js

    r3598 r4992  
    5353                                                                                         
    5454        function execAction(action){ 
    55                                                                  
    56                 if(!window.opener)                               
    57                         doc = window.document; 
    58                 else 
    59                         doc = window.opener.document; 
    60                  
     55 
     56                if(window.opener){ 
     57                    try{ 
     58                        doc = window.opener.document; 
     59                        select = doc.getElementById('user_list'); 
     60                    } 
     61                    catch(e){ 
     62                        doc = window.document; 
     63                        } 
     64                } 
     65                else{ 
     66                    doc = window.document; 
     67                } 
     68 
    6169                select = doc.getElementById('user_list');                                        
    6270                checkAttr = doc.formAcl.checkAttr;                                                                                               
Note: See TracChangeset for help on using the changeset viewer.