lsw-fabian
So, I am trying to understand how the "Start" button works.
From what I understand, it runs a front end function, with the following code:
// set now if from time is not set
if(app.get_field_value({F7: 0 slot.time_from}) === null)
app.set_field_value({F7: 0 slot.time_from},
app.call_frontend({lsw_time_tracker.get_seconds_from_midnight_local})
);
app.timer_set('start', false, app.record_save, 500);
From what I can see, the code checks to see if a time has been set, and if not, calls the "get_seconds....local" function, which returns the current time in seconds
what does the final line do - app.timer_set('start', false, app.record_save, 500);
Is this all standard Javascript, or something specific to REI3?
Thanks