Fixes #1092: Repair QR-Codes for API-Keys

This commit is contained in:
fipwmaqzufheoxq92ebc 2020-10-24 22:03:58 +02:00
parent be18d59735
commit c9ca40222e
No known key found for this signature in database
GPG Key ID: F4DF989490C2ADB7

View File

@ -63,7 +63,7 @@ $(document).on('click', '.apikey-delete-button', function(e)
});
$('.apikey-show-qr-button').on('click', function()
{
var qrcodeHtml = getQRCodeForAPIKey($(this).data('apikey-key'), $(this).data('apikey-type'));
var qrcodeHtml = getQRCodeForAPIKey($(this).data('apikey-type'), $(this).data('apikey-key'));
bootbox.alert({
title: __t('API key'),
message: "<p class='text-center'>" + qrcodeHtml + "</p>",