Skip to content

Commit af04517

Browse files
authored
Merge pull request #8 from moufmouf/2.1
Adding additional security when reset button pressed
2 parents 78dbd51 + 239abab commit af04517

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/views/patchesList.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,7 @@
129129
$('#action').val('skip');
130130
$('#patchesForm').submit();
131131
});
132+
$(".patch-reset").click(function() {
133+
return confirm('You are about to reset your complete database. Are you sure you want to continue?');
134+
});
132135
</script>

0 commit comments

Comments
 (0)