Just updated some div IDs

pull/2/head
riley 1 year ago
parent efa06ef6d6
commit 784b5bf4cd

@ -18,7 +18,7 @@ if self.task_start_failed then
<%+cbi/map%> <%+cbi/map%>
<div id="customModal" class="alert-message danger" style="display:none; text-align: center;"> <div id="confirmRemove" class="alert-message danger" style="display:none; text-align: center;">
<strong style="text-transform: uppercase;">This will permanently delete your installation, are you sure?</strong> <strong style="text-transform: uppercase;">This will permanently delete your installation, are you sure?</strong>
<br> <br>
<input class="btn cbi-button cbi-button-remove" type="button" value="YES" onclick="proceedRemoval()" style="margin-right: 10px;"> <input class="btn cbi-button cbi-button-remove" type="button" value="YES" onclick="proceedRemoval()" style="margin-right: 10px;">
@ -65,11 +65,11 @@ if self.task_start_failed then
<script> <script>
function showRemoveConfirmation() { function showRemoveConfirmation() {
document.getElementById("customModal").style.display = "block"; document.getElementById("confirmRemove").style.display = "block";
} }
function closeRemoveConfirmation() { function closeRemoveConfirmation() {
document.getElementById("customModal").style.display = "none"; document.getElementById("confirmRemove").style.display = "none";
} }
function proceedRemoval() { function proceedRemoval() {

Loading…
Cancel
Save