mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Set default task duration to 0
This commit is contained in:
parent
e2061e4c12
commit
c3c7a8d4e3
@ -212,7 +212,7 @@
|
|||||||
if ($(element).hasClass('time-input-start')) {
|
if ($(element).hasClass('time-input-start')) {
|
||||||
var timeModel = ko.dataFor(element);
|
var timeModel = ko.dataFor(element);
|
||||||
if (!timeModel.endTime()) {
|
if (!timeModel.endTime()) {
|
||||||
timeModel.endTime((current_time.getTime() / 1000) + (60*60));
|
timeModel.endTime((current_time.getTime() / 1000));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user