diff --git a/api/js/jsapi/app_base.js b/api/js/jsapi/app_base.js
index 451ad6d0d8..af2d09d87c 100644
--- a/api/js/jsapi/app_base.js
+++ b/api/js/jsapi/app_base.js
@@ -1365,8 +1365,6 @@ export const AppJS = (function(){ "use strict"; return Class.extend(
initialSetup:initSetup
};
_keyring.createKeyBackupContainer(selector, options).then(function(_popupId){
- var $backup_selector = jQuery('iframe[src^="chrome-extension"],iframe[src^="about:blank?mvelo"]');
- $backup_selector.css({position:'absolute', "z-index":1});
_popupId.isReady().then(function(result){
egw.message('Your key has been backedup into .PGP-Key-Backup successfully.');
jQuery(selector).empty();
@@ -1489,7 +1487,8 @@ export const AppJS = (function(){ "use strict"; return Class.extend(
},
template: egw.webserverUrl+'/api/templates/default/pgp_backup_restore.xet',
class: "pgp_backup_restore",
- modal:true
+ modal:true,
+ width: 700
});
};
if (typeof mailvelope != 'undefined')
diff --git a/api/templates/default/pgp_backup_restore.xet b/api/templates/default/pgp_backup_restore.xet
index 4f1eec0e50..35f2aafb4b 100644
--- a/api/templates/default/pgp_backup_restore.xet
+++ b/api/templates/default/pgp_backup_restore.xet
@@ -14,18 +14,22 @@
-
+
-
+
#_mvelo.mveloFrame {
border:1px solid silver;
display: inline-block;
float:right;
- position:absolute;
+ width: 550px;
+ height: 300px;
+ }
+ #_mvelo.mveloFrame iframe {
+ position: relative !important;
}
div#_mvelo:before {
content: "Select an operation from menu";