mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 01:37:13 +00:00
committed by
GitHub
parent
be18d59735
commit
7ef9ffe041
@@ -63,7 +63,7 @@ $(document).on('click', '.apikey-delete-button', function(e)
|
|||||||
});
|
});
|
||||||
$('.apikey-show-qr-button').on('click', function()
|
$('.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({
|
bootbox.alert({
|
||||||
title: __t('API key'),
|
title: __t('API key'),
|
||||||
message: "<p class='text-center'>" + qrcodeHtml + "</p>",
|
message: "<p class='text-center'>" + qrcodeHtml + "</p>",
|
||||||
|
Reference in New Issue
Block a user