diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-15 20:23:32 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-15 20:23:32 -0700 |
commit | ffccfb9e634de527261dca8e46ac4053806ec87b (patch) | |
tree | 1b3a2f4bec17abf6b8a93884263f861827b1cbba /lib/gallery.form.js | |
parent | 8b7e3e6c1a6a708b7b60837c33a895682c7de32f (diff) |
Move the code that adds the .gShortForm CSS class out of
gallery.short_forms.js and into the theme, since this is really a
theme decision.
Diffstat (limited to 'lib/gallery.form.js')
-rw-r--r-- | lib/gallery.form.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gallery.form.js b/lib/gallery.form.js index 67245e60..77ce3b7d 100644 --- a/lib/gallery.form.js +++ b/lib/gallery.form.js @@ -1,23 +1,10 @@ /** - * Handle initialization of all short forms - * - * @param shortForms array Array of short form IDs - */ -function handle_short_form_event(short_forms) { - for (var i in short_forms) { - short_form_init(short_forms[i]); - } -} - -/** * Initialize a short form. Short forms may contain only one text input. * * @param form_id string The form's CSS id */ function short_form_init(form_id) { var form = $(form_id); - form.addClass("gShortForm"); - var label = form.find("label:first"); var input = form.find("input[type=text]:first"); var button = form.find("input[type=submit]"); |