Sha256: 46ad4730d17c214f57e949b603f4be1d0318404a78cf4b04aa27a18b0eeaba0f

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

/* global Fae */

'use strict';

/**
 * Fae form
 * @namespace form
 * @memberof Fae
 */
Fae.form = {
  init: function() {
    this.dates.init();
    this.text.init();
    this.select.init();
    this.checkbox.init();
    this.validator.init();
    this.cancel.init();
    this.ajax.init();

    // input type=file customization
    // This doesn't work in IE. It's not worth figuring out why by this point. IE9 gets plain file uploader.
    if (!FCH.IE9) {
      $('.input.file').fileinputer({delete_class: 'icon-delete_x file_input-delete'});
    }

    // make all the hint areas
    $('.hint').hinter();
  },

};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fae-rails-1.2.4 app/assets/javascripts/fae/form/_form.js
fae-rails-1.2.3 app/assets/javascripts/fae/form/_form.js
fae-rails-1.2.2 app/assets/javascripts/fae/form/_form.js