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) {
|
write: function(value) {
|
||||||
if (value === null) {
|
if (value === null) {
|
||||||
self.startTime('');
|
self.startTime(0);
|
||||||
} else {
|
} else {
|
||||||
if (self.startTime()) {
|
if (self.startTime()) {
|
||||||
var orig = self.startDateMidnight().unix();
|
var orig = self.startDateMidnight().unix();
|
||||||
@ -1078,7 +1078,7 @@
|
|||||||
},
|
},
|
||||||
write: function(value) {
|
write: function(value) {
|
||||||
if (value === null) {
|
if (value === null) {
|
||||||
self.endTime('');
|
self.endTime(0);
|
||||||
} else {
|
} else {
|
||||||
self.endTime(self.startDateMidnight().unix() + value);
|
self.endTime(self.startDateMidnight().unix() + value);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user