Changeset 1509 for trunk/phpgwapi


Ignore:
Timestamp:
10/13/09 14:59:36 (15 years ago)
Author:
amuller
Message:

Ticket #628 - Corrigindo problema de janela pai em determinados domínios

Location:
trunk/phpgwapi/templates
Files:
2 edited

Legend:

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

    r1151 r1509  
    4747                newScreenX  = screen.width - newWidth;           
    4848                newScreenY  = 0; 
    49  
    50                 window.open('phpgwapi/templates/celepar/listUsers.php?'+(type == 'g' ? 'type=g&' : '')+'currentApp='+currentApp,"","width="+newWidth+",height="+newHeight+",screenX="+newScreenX+",left="+newScreenX+",screenY="+newScreenY+",top="+newScreenY+",status=1,toolbar=no,scrollbars=yes,resizable=no"); 
    51                  
     49                var rootPath = document.location.toString(); 
     50                window.open(rootPath.substr(0,rootPath.lastIndexOf('/'))+'/phpgwapi/templates/celepar/listUsers.php?'+(type == 'g' ? 'type=g&' : '')+'currentApp='+currentApp,"","width="+newWidth+",height="+newHeight+",screenX="+newScreenX+",left="+newScreenX+",screenY="+newScreenY+",top="+newScreenY+",status=1,toolbar=no,scrollbars=yes,resizable=no"); 
    5251        } 
    5352                                                                                         
  • trunk/phpgwapi/templates/default/js/listUsers.js

    r1151 r1509  
    4747                newScreenX  = screen.width - newWidth;           
    4848                newScreenY  = 0; 
    49  
    50                 window.open('phpgwapi/templates/celepar/listUsers.php?'+(type == 'g' ? 'type=g&' : '')+'currentApp='+currentApp,"","width="+newWidth+",height="+newHeight+",screenX="+newScreenX+",left="+newScreenX+",screenY="+newScreenY+",top="+newScreenY+",status=1,toolbar=no,scrollbars=yes,resizable=no"); 
     49                var rootPath = document.location.toString(); 
     50                window.open(rootPath.substr(0,rootPath.lastIndexOf('/'))+'/phpgwapi/templates/celepar/listUsers.php?'+(type == 'g' ? 'type=g&' : '')+'currentApp='+currentApp,"","width="+newWidth+",height="+newHeight+",screenX="+newScreenX+",left="+newScreenX+",screenY="+newScreenY+",top="+newScreenY+",status=1,toolbar=no,scrollbars=yes,resizable=no"); 
    5151                 
    5252        } 
Note: See TracChangeset for help on using the changeset viewer.