1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02: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')) {
var timeModel = ko.dataFor(element);
if (!timeModel.endTime()) {
timeModel.endTime((current_time.getTime() / 1000) + (60*60));
timeModel.endTime((current_time.getTime() / 1000));
}
}
},