mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +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')) {
|
||||
var timeModel = ko.dataFor(element);
|
||||
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