forked from extern/egroupware
Fix PGP back/restore dialog
This commit is contained in:
parent
dba604ca59
commit
e397e43c1b
@ -1365,8 +1365,6 @@ export const AppJS = (function(){ "use strict"; return Class.extend(
|
|||||||
initialSetup:initSetup
|
initialSetup:initSetup
|
||||||
};
|
};
|
||||||
_keyring.createKeyBackupContainer(selector, options).then(function(_popupId){
|
_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){
|
_popupId.isReady().then(function(result){
|
||||||
egw.message('Your key has been backedup into .PGP-Key-Backup successfully.');
|
egw.message('Your key has been backedup into .PGP-Key-Backup successfully.');
|
||||||
jQuery(selector).empty();
|
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',
|
template: egw.webserverUrl+'/api/templates/default/pgp_backup_restore.xet',
|
||||||
class: "pgp_backup_restore",
|
class: "pgp_backup_restore",
|
||||||
modal:true
|
modal:true,
|
||||||
|
width: 700
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
if (typeof mailvelope != 'undefined')
|
if (typeof mailvelope != 'undefined')
|
||||||
|
@ -14,18 +14,22 @@
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<et2-image src="$row_cont[image]"></et2-image>
|
<et2-image src="$row_cont[image]"></et2-image>
|
||||||
<et2-description onclick="$row_cont[onclick]" class="click"></et2-description>
|
<et2-description value="$row_cont[label]" onclick="$row_cont[onclick]" class="click"></et2-description>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<et2-hbox id="mvelo" width="500px" height="300" class="mveloFrame"></et2-hbox>
|
<et2-hbox id="mvelo" class="mveloFrame"></et2-hbox>
|
||||||
</et2-hbox>
|
</et2-hbox>
|
||||||
<styles>
|
<styles>
|
||||||
#_mvelo.mveloFrame {
|
#_mvelo.mveloFrame {
|
||||||
border:1px solid silver;
|
border:1px solid silver;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float:right;
|
float:right;
|
||||||
position:absolute;
|
width: 550px;
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
#_mvelo.mveloFrame iframe {
|
||||||
|
position: relative !important;
|
||||||
}
|
}
|
||||||
div#_mvelo:before {
|
div#_mvelo:before {
|
||||||
content: "Select an operation from menu";
|
content: "Select an operation from menu";
|
||||||
|
Loading…
Reference in New Issue
Block a user