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