Editor - Schedule lapse
This modal is used to manipulate and give values to the fields of the lapses.
Main Models
lapse.open.hour
lapse.open.minute
lapse.close.hour
lapse.close.minute
hours
: contains in an array the possible values for the hours
-minutes
: contains in an array the possible values for the minutestimeCheck
: compare that the time of closes is greater than that of opentimeCheck.hour
:timeCheck.minute
:
Utility Functions
hide()
: close the modalcheckTime()
: function that prevents invalid lapsesadd()
: if it's a new lapsesave()
: to save the changes
Updated almost 6 years ago