mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on time tracker
This commit is contained in:
parent
f5e94cbee7
commit
06ad42fbf6
@ -439,7 +439,6 @@
|
|||||||
self.project = ko.observable();
|
self.project = ko.observable();
|
||||||
self.actionButtonVisible = ko.observable(false);
|
self.actionButtonVisible = ko.observable(false);
|
||||||
self.created_at = ko.observable(moment().format('YYYY-MM-DD HH:mm:ss'));
|
self.created_at = ko.observable(moment().format('YYYY-MM-DD HH:mm:ss'));
|
||||||
console.log('self.created_at: ' + self.created_at());
|
|
||||||
|
|
||||||
self.mapping = {
|
self.mapping = {
|
||||||
'client': {
|
'client': {
|
||||||
@ -480,7 +479,6 @@
|
|||||||
for (var i=0; i<times.length; i++) {
|
for (var i=0; i<times.length; i++) {
|
||||||
self.time_log.push(new TimeModel(times[i]));
|
self.time_log.push(new TimeModel(times[i]));
|
||||||
}
|
}
|
||||||
console.log('self.created_at [updated]: ' + self.created_at());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
@ -559,9 +557,6 @@
|
|||||||
|
|
||||||
self.listItemState = ko.computed(function() {
|
self.listItemState = ko.computed(function() {
|
||||||
var str = '';
|
var str = '';
|
||||||
if (! model.selectedTask()) {
|
|
||||||
return str;
|
|
||||||
}
|
|
||||||
if (self == model.selectedTask()) {
|
if (self == model.selectedTask()) {
|
||||||
str = 'active';
|
str = 'active';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user