less popups, less reloads

This commit is contained in:
Jens Timmerman 2021-08-02 19:18:32 +02:00
parent 08932839be
commit c0f412334a
1 changed files with 4 additions and 6 deletions

View File

@ -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) {