Replaced success() with done ()

This commit is contained in:
James Cole
2016-02-04 07:30:12 +01:00
parent 7343304284
commit fb119cc208
9 changed files with 19 additions and 19 deletions

View File

@@ -47,7 +47,7 @@ $(function () {
end: end.format('YYYY-MM-DD'),
label: label,
_token: token
}).success(function () {
}).done(function () {
console.log('Succesfully sent new date range.');
window.location.reload(true);
}).fail(function () {