1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Issue #3175 GDPR work.

This commit is contained in:
Cameron
2018-06-05 12:55:20 -07:00
parent 33f8b885fe
commit a1469aad5e
6 changed files with 53 additions and 4 deletions

View File

@@ -788,6 +788,19 @@ $.ajaxSetup({
$(document).ready(function()
{
// 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
});
//check all
$("#check-all").click(function(event){
var val = $(this).val(), selector = '.field-spacer';