Fixed error in JavaScript voucher code generation

This commit is contained in:
Raphael Michel
2016-09-15 23:20:27 +02:00
parent 5aa1ecec7c
commit 20cb4abb7b

View File

@@ -98,7 +98,7 @@ $(function () {
num = $("#voucher-bulk-codes-num").val();
$("#id_codes").html("Generating...");
$.getJSON(url + '?num=' + num, function (data) {
$("#id_codes").text(data.codes.join("\n"));
$("#id_codes").val(data.codes.join("\n"));
});
});