fix in time comparison while validating events

This commit is contained in:
fbsanchez 2019-06-13 13:35:02 +02:00
parent 9740275388
commit 0afb53dc17
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ function update_event(table, id_evento, type, row) {
},
success: function() {
var t2 = new Date();
var diff_g = t1.getTime() - t2.getTime();
var diff_g = t2.getTime() - t1.getTime();
var diff_s = diff_g / 1000;
// If operation takes less than 2 seconds, redraw.