aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/post/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'template/admin/html/post/form.php')
-rw-r--r--template/admin/html/post/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index cba4aa8..66db820 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -85,7 +85,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input type="submit" name="delete" value="<?=$Language->text('delete')?>" onclick="return confirm('<?=$Language->template('sure')?>')" />
+ <input type="submit" name="delete" value="<?=$Language->text('delete')?>" id="delete-button" data-text="<?=$Language->template('sure')?>" />
<?php endif; ?>
</section>
</form> \ No newline at end of file