Photosynthesis / Timetracker

A lightweight client-side server-synching timetracking and productivity app
6 stars 2 forks source link

Buttons won't work #1

Open codeflight1 opened 8 years ago

codeflight1 commented 8 years ago

I'm using Timetracker on my Raspberrypi 2 and none of the buttons work. I'm using Chromium and when I press the create new client button nothing happens; the precise error is "Uncaught ReferenceError: addClientForm is not defined timetracker.html:56"

Anyone have any idea why this is happening?

Thanks

NeuroCodex commented 8 years ago

Hi VA7NFH -- this probably means Chromium on Raspi isn't loading the timetracker.js script, or its JavaScript engine is taking exception to something in the JS file.

Was there anything else output to the console?

codeflight1 commented 8 years ago

I just looked at it again and the other things in console are; "Uncaught SyntaxError: Unexpected identifier timetracker.js:1139" and "Uncaught ReferenceError: ttInit is not defined timetracker.html:19"

Photosynthesis commented 8 years ago

Hmmm.... I've done some cleanup on the JavaScript which I hope will have fixed this issue. Let me know if the current version works on your system, and if not what the console says. Thanks for the bug reports.

codeflight1 commented 8 years ago

it's much better now; the only thing that doesn’t work is that the start button doesn’t appear. The console says "Uncaught Error: TYPE_MISMATCH_ERR: DOM Exception 17 timetracker.js:78" and "Uncaught TypeError: Cannot read property 'Length' of undefined timetracker.js:697"