Merge branch '#100-EditLogReturnToUserPage' into Release0.2

This commit is contained in:
Chris.Watts90@outlook.com 2018-05-30 10:11:09 +01:00
commit 1f67b3c84e

View File

@ -343,7 +343,7 @@
.done(function () { .done(function () {
self.manualLog(null); self.manualLog(null);
$('#manualLogDialog').modal("hide"); $('#manualLogDialog').modal("hide");
self.goToMenuOption(self.uiPages.home()); location.reload(); //stay on this users logs page, but just reload the timelogs.
}) })
.fail(function (resp, status, error) { .fail(function (resp, status, error) {
var errObj = self.helpers.processRequestFailure(resp, status, error); var errObj = self.helpers.processRequestFailure(resp, status, error);
@ -360,7 +360,7 @@
data: logToDelete, data: logToDelete,
success: function (result) { success: function (result) {
console.log("successfully deleted .." + result); console.log("successfully deleted .." + result);
self.goToMenuOption(self.uiPages.home()); location.reload(); //stay on this page but just reload the timelogs.
} }
}); });
}; };