mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on time tracker
This commit is contained in:
parent
f807883d3f
commit
b0b46606f8
@ -509,7 +509,6 @@
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
self.update(response);
|
self.update(response);
|
||||||
model.isStartEnabled(true);
|
|
||||||
if (self.isRunning()) {
|
if (self.isRunning()) {
|
||||||
if (self.time_log().length == 1) {
|
if (self.time_log().length == 1) {
|
||||||
toastr.success("{{ trans('texts.started_task') }}");
|
toastr.success("{{ trans('texts.started_task') }}");
|
||||||
@ -528,6 +527,7 @@
|
|||||||
}).always(function() {
|
}).always(function() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
model.isSaveEnabled(true);
|
model.isSaveEnabled(true);
|
||||||
|
model.isStartEnabled(true);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user