diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js index c2fa6f8f..32067cbc 100644 --- a/ereuse_devicehub/static/js/main_inventory.js +++ b/ereuse_devicehub/static/js/main_inventory.js @@ -52,10 +52,12 @@ function removeTag() { function newAction(action) { $("#actionModal #type").val(action); + $("#actionModal #title-action").html(action); $("#activeActionModal").click(); } function newAllocate(action) { $("#allocateModal #type").val(action); + $("#allocateModal #title-action").html(action); $("#activeAllocateModal").click(); } diff --git a/ereuse_devicehub/templates/inventory/actions.html b/ereuse_devicehub/templates/inventory/actions.html index 61a942c5..2e14f24d 100644 --- a/ereuse_devicehub/templates/inventory/actions.html +++ b/ereuse_devicehub/templates/inventory/actions.html @@ -3,7 +3,7 @@