mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 21:06:15 +02:00
Reuse existing localization string (API key)
This commit is contained in:
parent
7ccef956ba
commit
6bcabad670
|
|
@ -61,10 +61,11 @@ $(document).on('click', '.apikey-delete-button', function(e)
|
|||
}
|
||||
});
|
||||
});
|
||||
$('.apikey-show-qr-button').on('click', function () {
|
||||
var QRhtml = getQRCodeForAPIKey( $(this).data('apikey-key'), $(this).data('apikey-type'));
|
||||
$('.apikey-show-qr-button').on('click', function()
|
||||
{
|
||||
var QRhtml = getQRCodeForAPIKey($(this).data('apikey-key'), $(this).data('apikey-type'));
|
||||
bootbox.alert({
|
||||
title: __t('API-Key'),
|
||||
title: __t('API key'),
|
||||
message: QRhtml,
|
||||
closeButton: false
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user