Fix some popups restricted to just one popup window

- Admin -> Edit user
- Mail -> View source & View header
This commit is contained in:
nathangray 2020-03-23 09:57:06 -06:00
parent 28fb99ba51
commit 7e1da8d909
3 changed files with 15 additions and 15 deletions

View File

@ -43,19 +43,19 @@ var AdminApp = /** @class */ (function (_super) {
* @memberOf app.classes.admin
*/
function AdminApp() {
var _this =
var _this =
// call parent
_super.call(this, 'admin') || this;
/**
* reference to iframe
*
* {et2_iframe}
*/
_this.iframe = null;
/**
* reference to nextmatch
*
* {et2_extension_nextmatch}
/**
* reference to iframe
*
* {et2_iframe}
*/
_this.iframe = null;
/**
* reference to nextmatch
*
* {et2_extension_nextmatch}
*/
_this.nm = null;
/**
@ -771,7 +771,7 @@ var AdminApp = /** @class */ (function (_super) {
params.account_id = _senders[0].id.split('::').pop(); // get last :: separated part
break;
}
this.egw.open_link(this.egw.link('/index.php', params), 'admin', popup);
this.egw.open_link(this.egw.link('/index.php', params), 'admin', popup, 'admin');
};
/**
* Submit statistic

View File

@ -895,13 +895,13 @@ class AdminApp extends EgwApp
case 'copy':
params.owner = '0';
params.copy = true;
// Fall through
// Fall through
default:
params.account_id = _senders[0].id.split('::').pop(); // get last :: separated part
break;
}
this.egw.open_link(this.egw.link('/index.php', params), 'admin', popup);
this.egw.open_link(this.egw.link('/index.php', params), 'admin', popup, 'admin');
}
/**

View File

@ -2616,7 +2616,7 @@ app.classes.mail = AppJS.extend(
*/
mail_displayHeaderLines: function(_url) {
// only used by right clickaction
egw_openWindowCentered(_url,'mail_display_headerLines','870','600',window.outerWidth/2,window.outerHeight/2);
egw.openPopup(_url, '870', '600', null, 'mail');
},
/**