mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 21:26:16 +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 () {
|
$('.apikey-show-qr-button').on('click', function()
|
||||||
var QRhtml = getQRCodeForAPIKey( $(this).data('apikey-key'), $(this).data('apikey-type'));
|
{
|
||||||
|
var QRhtml = getQRCodeForAPIKey($(this).data('apikey-key'), $(this).data('apikey-type'));
|
||||||
bootbox.alert({
|
bootbox.alert({
|
||||||
title: __t('API-Key'),
|
title: __t('API key'),
|
||||||
message: QRhtml,
|
message: QRhtml,
|
||||||
closeButton: false
|
closeButton: false
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user