Modifica nome funzione per strana incompatibilità

This commit is contained in:
loviuz 2019-05-15 17:01:43 +02:00
parent 92539aecfd
commit a48b892e3d
1 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ $(document).ready(function () {
// Messaggi automatici di eliminazione // Messaggi automatici di eliminazione
$(document).on('click', '.ask', function () { $(document).on('click', '.ask', function () {
message(this); popup(this);
}); });
// Pulsanti di Datatables // Pulsanti di Datatables
@ -176,7 +176,7 @@ $(document).ready(function () {
$(this).attr("data-id_records", table.data('selected')); $(this).attr("data-id_records", table.data('selected'));
$(this).data("id_records", table.data('selected')); $(this).data("id_records", table.data('selected'));
message(this); popup(this);
$(this).attr("data-id_records", ""); $(this).attr("data-id_records", "");
$(this).data("id_records", ""); $(this).data("id_records", "");
@ -1307,7 +1307,7 @@ function setContrast(backgroundcolor) {
} }
} }
function message(element) { function popup(element) {
data = $.extend({}, $(element).data()); data = $.extend({}, $(element).data());
var title = globals.translations.deleteTitle; var title = globals.translations.deleteTitle;