mirror of
https://github.com/ellite/Wallos.git
synced 2026-04-25 22:19:20 -05:00
fix: delete button on subscription form (#460)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<?php
|
||||
$version = "v2.19.2";
|
||||
$version = "v2.19.3";
|
||||
?>
|
||||
@@ -99,7 +99,7 @@ function fillEditFormFields(subscription) {
|
||||
|
||||
const deleteButton = document.querySelector("#deletesub");
|
||||
deleteButton.style = 'display: block';
|
||||
deleteButton.setAttribute("onClick", `deleteSubscription(${subscription.id})`);
|
||||
deleteButton.setAttribute("onClick", `deleteSubscription(event, ${subscription.id})`);
|
||||
|
||||
const modal = document.getElementById('subscription-form');
|
||||
modal.classList.add("is-open");
|
||||
|
||||
Reference in New Issue
Block a user