1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Working on the time tracker

This commit is contained in:
Hillel Coren 2017-10-02 10:21:19 +03:00
parent ed7ca71699
commit 68bbd9b14e

View File

@ -84,8 +84,11 @@
if (field == 'start_time') {
setTimeout(function() {
$input = $(element).closest('td').next('td').find('input');
$input.timepicker('option', 'durationTime', $(element).val());
$input.timepicker('option', 'minTime', $(element).val());
var value = $(element).val();
if (value) {
$input.timepicker('option', 'durationTime', value);
$input.timepicker('option', 'minTime', value);
}
}, 1);
}
}
@ -1214,7 +1217,6 @@
}
});
}
</script>