Sha256: e60b44a1bdf5a9ca279b4b603adb31919579d8be43216468f8d136b2870785f3

Contents?: true

Size: 614 Bytes

Versions: 10

Compression:

Stored size: 614 Bytes

Contents

I"Z(function() {
  window.setupDatepickers = function() {
    return $("input[type*=date], input[name*=date], input[name$=_at]").map(function() {
      if (this.type === "hidden") {
        return;
      }
      this.type = "text";
      if (this.value.match("-")) {
        this.value = this.value.split("-").reverse().join("/");
      }
      return $(this).datepicker({
        language: "fr",
        format: "dd/mm/yyyy",
        todayBtn: "linked",
        autoclose: true
      });
    });
  };

  $(document).on("ready page:load", function() {
    return setupDatepickers();
  });

}).call(this);
:ET

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dorsale-3.0.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-3.0.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-3.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-3.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-2.7.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-2.7.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-2.7.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-2.7.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-2.6.8 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache
dorsale-2.6.7 spec/dummy/tmp/cache/assets/sprockets/v3.0/9Z/9ZMoHEFoa3OMIhcmVaY5M6fINRk-CVynHcSZbN5pxOQ.cache