mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 03:09:33 +00:00
Initialize selectpicker via stimulus controller.
This commit is contained in:
parent
f1ea25cad2
commit
f276c436ae
16 changed files with 31 additions and 32 deletions
|
|
@ -52,10 +52,6 @@
|
|||
$("#" + min_discount_id).val(new_min_amount);
|
||||
$("#" + price_related_id).val("1");
|
||||
|
||||
|
||||
//Reinit the selectpickers
|
||||
$(".selectpicker").selectpicker();
|
||||
|
||||
}
|
||||
|
||||
function delete_orderdetail_entry(btn) {
|
||||
|
|
@ -77,9 +73,5 @@
|
|||
newForm = newForm.replace(/__name__/g, index);
|
||||
|
||||
$holder.children("tbody").append(newForm);
|
||||
|
||||
//Reinit the selectpickers
|
||||
$(".selectpicker").selectpicker();
|
||||
|
||||
}
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue