Change createManualLog and deleteLog to refresh page rather than go to user list page.
#100
This commit is contained in:
parent
0653fb60d2
commit
a1aa4fcce0
@ -343,7 +343,7 @@
|
||||
.done(function () {
|
||||
self.manualLog(null);
|
||||
$('#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) {
|
||||
var errObj = self.helpers.processRequestFailure(resp, status, error);
|
||||
@ -360,7 +360,7 @@
|
||||
data: logToDelete,
|
||||
success: function (result) {
|
||||
console.log("successfully deleted .." + result);
|
||||
self.goToMenuOption(self.uiPages.home());
|
||||
location.reload(); //stay on this page but just reload the timelogs.
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user