Fix secure iframe conflict with cba button

This commit is contained in:
yflory
2020-04-20 16:47:04 +02:00
parent 49eacf752b
commit c6cb9876a7
4 changed files with 10 additions and 7 deletions

View File

@@ -1020,12 +1020,12 @@ define([
};
SecureModal.$iframe = $('<iframe>', {id: 'sbox-secure-iframe'}).appendTo($('body'));
SecureModal.modal = SecureIframe.create(config);
} else if (!cfg.hidden) {
}
if (!cfg.hidden) {
SecureModal.modal.refresh(cfg, function () {
SecureModal.$iframe.show();
});
}
if (cfg.hidden) {
} else {
SecureModal.$iframe.hide();
return;
}