diff --git a/src/core/js/ext_qrcode.js b/src/core/js/ext_qrcode.js index a3aefe3ae892ffe02b99a17664003d6b8965baa9..7dcff42a51eea100489434a6eb0549efdfbe7550 100644 --- a/src/core/js/ext_qrcode.js +++ b/src/core/js/ext_qrcode.js @@ -150,7 +150,7 @@ var ext_qrcode = function ($, connection, getEntityVersion, getEntityID, QRCode, const entity_id = getEntityID(entity); const entity_version = getEntityVersion(entity); - $(entity).find(`.${_buttons_list_class}`).append(create_qrcode_button(entity)); + $(entity).find(`.${_buttons_list_class}`).append(create_qrcode_button(entity_id, entity_version)); } var remove_qrcode_button = function (entity) {