jsdoc.scheduled_modal¶
File: biweeklybudget/flaskapp/static/js/scheduled_modal.js
-
schedModal
(id, dataTableObj)¶ Show the ScheduledTransaction modal popup, optionally populated with information for one ScheduledTransaction. This function calls
schedModalDivForm()
to generate the form HTML,schedModalDivFillAndShow()
to populate the form for editing, andhandleForm()
to handle the Submit action.Arguments: - id (number) – the ID of the ScheduledTransaction to show a modal for, or null to show modal to add a new ScheduledTransaction.
- dataTableObj (Object|null) – passed on to
handleForm()
-
schedModalDivFillAndShow
(msg)¶ Ajax callback to fill in the modalDiv with data on a budget.
-
schedModalDivForm
()¶ Generate the HTML for the form on the Modal
-
schedModalDivHandleType
()¶ Handle change of the “Type” radio buttons on the modal