Javascript Notes
Javascript is currently used to
- Manage the drawing code entry (syncronize the drawing hirozontal vs. vertical code fields)
- Open/close tables (the toggles)
- On change in the document (and comment) forms
- Informing the server if the client has Javascript enabled
- Set focus (set for certain inputs form, mainly the login form)
Issues
- Our Javascript currently assumes a single form on a page, this could cause problems if we want to have a search box in our page header.
- - See app/js/drawmgt.js, search for forms[0]
- We should add names for our forms