symphonycms/symphony-2 — Issue #1021: admin.js: variable names and declarations
Author: nilshoerrmann
Created: 2012-02-22 06:53:32+00:00
State: open

`admin.js` uses a lot of direct calls to jQuery to get elements without storing them for later use. Nevertheless a few elements are used multiple times in the script. We should do two things:

- Establish a naming convention for stored elements.
- Store all needed elements on top of `admin.js` for later use.