From c0f412334a5d8c9e6945d2d3c711e8cb2b2b8e65 Mon Sep 17 00:00:00 2001 From: Jens Timmerman Date: Mon, 2 Aug 2021 19:18:32 +0200 Subject: [PATCH] less popups, less reloads --- nmgfitness/calendar.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nmgfitness/calendar.html b/nmgfitness/calendar.html index f8795f5..5f39cc5 100644 --- a/nmgfitness/calendar.html +++ b/nmgfitness/calendar.html @@ -62,7 +62,7 @@ data: {'title': title, 'start': start, 'end': end}, dataType: "json", success: function (data) { - alert("Added Successfully"); + //alert("Added Successfully"); location.reload(); }, failure: function (data) { @@ -82,8 +82,7 @@ data: {'title': title, 'start': start, 'end': end, 'id': id}, dataType: "json", success: function (data) { - alert('Event Update'); - location.reload(); + //alert('Event Update'); }, failure: function (data) { alert('There is a problem!!!'); @@ -102,8 +101,7 @@ data: {'title': title, 'start': start, 'end': end, 'id': id}, dataType: "json", success: function (data) { - alert('Event Update'); - location.reload(); + //alert('Event Update'); }, failure: function (data) { alert('There is a problem!!!'); @@ -120,7 +118,7 @@ data: {'id': id}, dataType: "json", success: function (data) { - alert('Event Removed'); + //alert('Event Removed'); location.reload(); }, failure: function (data) {