mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 16:04:32 -04:00
Working on the time tracker
This commit is contained in:
parent
ed7ca71699
commit
68bbd9b14e
@ -84,8 +84,11 @@
|
|||||||
if (field == 'start_time') {
|
if (field == 'start_time') {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$input = $(element).closest('td').next('td').find('input');
|
$input = $(element).closest('td').next('td').find('input');
|
||||||
$input.timepicker('option', 'durationTime', $(element).val());
|
var value = $(element).val();
|
||||||
$input.timepicker('option', 'minTime', $(element).val());
|
if (value) {
|
||||||
|
$input.timepicker('option', 'durationTime', value);
|
||||||
|
$input.timepicker('option', 'minTime', value);
|
||||||
|
}
|
||||||
}, 1);
|
}, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1214,7 +1217,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user