Sha256: a20c081806885b8b8f52d78bb2899030a5d19732e72f3e503b162e4fe70b1839

Contents?: true

Size: 505 Bytes

Versions: 30

Compression:

Stored size: 505 Bytes

Contents

I"í(function() {
  $(document).on("ready page:load", function() {
    return $("input[type*=date], input[name*=date], input[name$=_at]").map(function() {
      var date;
      if (this.type === "hidden") {
        return;
      }
      this.type = "text";
      if (this.value.match("-")) {
        date = this.value.split("-");
        this.value = date[2] + "/" + date[1] + "/" + date[0];
      }
      return $(this).datepicker({
        language: "fr"
      });
    });
  });

}).call(this);
:ET

Version data entries

30 entries across 15 versions & 1 rubygems

Version Path
dorsale-2.4.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.3 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.2 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.1 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.4.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.3.5 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache
dorsale-2.3.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/J2N6Hu0uPJLq5m9lxsvB7J0Ofk4J4vWlWvUEQNLY158.cache