Permalink
Browse files

Fix window.opener case with public link.

  • Loading branch information...
1 parent fdfad76 commit f6611dfd7bf97bc307698ae30f1f6a2c52a8065a @cdujeu cdujeu committed Aug 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/gui.ajax/res/js/ui/prototype/class.AjxpBootstrap.js
@@ -41,7 +41,7 @@ Class.create("AjxpBootstrap", {
this.insertBasicSkeleton(this.parameters.get('MAIN_ELEMENT'));
var startedFromOpener = false;
try{
- if(window.opener && window.opener.ajxpBootstrap){
+ if(window.opener && window.opener.ajxpBootstrap && this.parameters.get('serverAccessPath') === window.opener.ajxpBootstrap.parameters.get('serverAccessPath')){
this.parameters = window.opener.ajxpBootstrap.parameters;
// Handle queryString case, as it's not passed via get_boot_conf
var qParams = document.location.href.toQueryParams();

0 comments on commit f6611df

Please sign in to comment.