1
0
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:
Hillel Coren 2017-03-06 22:17:16 +02:00
parent e2061e4c12
commit c3c7a8d4e3

View File

@ -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));
} }
} }
}, },