Skip to content

Commit 13d1824

Browse files
daniel89fgCopilot
andauthored
Update Core/Assets/JS/Custom.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3c74d84 commit 13d1824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Assets/JS/Custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function setModalParentForm(modal, form) {
113113
let input = document.createElement('input');
114114
input.type = 'hidden';
115115
input.name = 'code';
116-
input.value = code;
116+
input.value = form.code.value;
117117
$("#" + modal).parent().append(input);
118118
} else if (form.elements['codes[]']) {
119119
let codes = [];

0 commit comments

Comments
 (0)