mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Prevent duplicate delete confirmation
This commit is contained in:
@@ -755,12 +755,13 @@ $(document).ready(function()
|
||||
|
||||
|
||||
|
||||
// Basic Delete Confirmation
|
||||
// Basic Delete Confirmation
|
||||
/*
|
||||
$('input.delete,button.delete,a[data-confirm]').click(function(){
|
||||
answer = confirm($(this).attr("data-confirm"));
|
||||
return answer; // answer is a boolean
|
||||
});
|
||||
|
||||
*/
|
||||
$(".e-confirm").click(function(){
|
||||
answer = confirm($(this).attr("title"));
|
||||
return answer; // answer is a boolean
|
||||
|
Reference in New Issue
Block a user