mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on the time tracker
This commit is contained in:
parent
09ad1668a0
commit
272abe7a9d
@ -1060,7 +1060,7 @@
|
||||
},
|
||||
write: function(value) {
|
||||
if (value === null) {
|
||||
self.startTime('');
|
||||
self.startTime(0);
|
||||
} else {
|
||||
if (self.startTime()) {
|
||||
var orig = self.startDateMidnight().unix();
|
||||
@ -1078,7 +1078,7 @@
|
||||
},
|
||||
write: function(value) {
|
||||
if (value === null) {
|
||||
self.endTime('');
|
||||
self.endTime(0);
|
||||
} else {
|
||||
self.endTime(self.startDateMidnight().unix() + value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user