diff --git a/lib/functions.js b/lib/functions.js index 8c910c44e..305a9f63f 100644 --- a/lib/functions.js +++ b/lib/functions.js @@ -118,7 +118,7 @@ $(document).ready(function () { // Messaggi automatici di eliminazione $(document).on('click', '.ask', function () { - message(this); + popup(this); }); // Pulsanti di Datatables @@ -176,7 +176,7 @@ $(document).ready(function () { $(this).attr("data-id_records", table.data('selected')); $(this).data("id_records", table.data('selected')); - message(this); + popup(this); $(this).attr("data-id_records", ""); $(this).data("id_records", ""); @@ -1307,7 +1307,7 @@ function setContrast(backgroundcolor) { } } -function message(element) { +function popup(element) { data = $.extend({}, $(element).data()); var title = globals.translations.deleteTitle;