less popups, less reloads
This commit is contained in:
parent
08932839be
commit
c0f412334a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue