This commit is contained in:
Ross
2021-12-12 10:33:45 +00:00
parent 3142ebe4a4
commit e3c8d6f38d
+6 -4
View File
@@ -117,15 +117,17 @@
$(document).ready(function () {
$("#add-new-cids").click((evt) => {
n = $("#add-number").get(0).value
n = $("#add-number").get(0).value;
if (n < 1) {
toastr.info("You need to enter how many users to add.")
toastr.info("You need to enter how many users to add.");
return
}
data = getGenericData()
data["number_to_create"] = n
data = getGenericData();
data["number_to_create"] = n;
postAjax(data);
});