mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +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(){
|
$('input.delete,button.delete,a[data-confirm]').click(function(){
|
||||||
answer = confirm($(this).attr("data-confirm"));
|
answer = confirm($(this).attr("data-confirm"));
|
||||||
return answer; // answer is a boolean
|
return answer; // answer is a boolean
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
$(".e-confirm").click(function(){
|
$(".e-confirm").click(function(){
|
||||||
answer = confirm($(this).attr("title"));
|
answer = confirm($(this).attr("title"));
|
||||||
return answer; // answer is a boolean
|
return answer; // answer is a boolean
|
||||||
|
Reference in New Issue
Block a user