gallery/gallery3 — pull request #211 by shadlaws (2013-03-12 11:55:13+00:00)
Title: #2054 - Revise albums_form_add.js: update for new jQuery, refactor.

- changed "change" event to "input" to catch cut'n'paste
- kept "keyup" event for old IE compatibility
- removed code duplication by using $(this) and combining events using .on()
- replaced attr("value",...) with val()
- added quotes around input names
- disallowed backslashes