Sha256: 62d655b16bf9ca22c7697346565d9c0623f74e5ede5ab2d41e72586279b179b2

Contents?: true

Size: 491 Bytes

Versions: 11

Compression:

Stored size: 491 Bytes

Contents

$(document).on("'page:change turbolinks:load", function () {

    if ($.isFunction("datetimepicker")) {
        $(".datepicker-date").datetimepicker({
            scrollInput: false,
            format: "d/m/Y",
            timepicker: false,
            datepicker: true,
            dayOfWeekStart: 0
        })

        $(".datepicker-time").datetimepicker({
            format: 'H:i',
            timepicker: true,
            datepicker: false,
            step: 15
        })
    }
});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy-custom-model-3.2 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.1.5 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.1.4 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.1.3 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.1.2 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.1.1 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.1.0 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.2.2 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-3.0.0 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.2.1 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.2.0 app/assets/javascripts/alchemy-custom-model/common_init.js