1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-26 12:48:15 +03:00
parent f807883d3f
commit b0b46606f8

View File

@ -509,7 +509,6 @@
}
} else {
self.update(response);
model.isStartEnabled(true);
if (self.isRunning()) {
if (self.time_log().length == 1) {
toastr.success("{{ trans('texts.started_task') }}");
@ -528,6 +527,7 @@
}).always(function() {
setTimeout(function() {
model.isSaveEnabled(true);
model.isStartEnabled(true);
}, 1000);
});
}