Skip to content

Commit da4262d

Browse files
committed
feat: correzione firma con tavoletta grafica gdpr in attività
1 parent 12a8731 commit da4262d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/anagrafiche/modals/firma_gdpr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ function resizeCanvas() {
184184
function caricaTavoletta(){
185185
let container = $("#firma-div");
186186
localLoading(container, true);
187-
var marketing_generico = document.getElementById("marketing_generico").value;
188-
var profilazione = document.getElementById("profilazione").value;
187+
var marketing_generico = '.$GLOBALS['gdpr_marketing_generico'].';
188+
var profilazione = '.$GLOBALS['gdpr_profilazione'].';
189189
return $.get("'.$structure->fileurl('modals/firma_tavoletta_gdpr.php').'?id_module='.$id_module.'&id_record='.$id_record.'&marketing_generico=" + marketing_generico + "&profilazione=" + profilazione, function(data) {
190190
container.html(data);
191191
localLoading(container, false);

0 commit comments

Comments
 (0)