Sha256: 2338102ea4e1600635daa84c11e5b477ab06ee0739bc3dc3020fc8fbd044a330

Contents?: true

Size: 387 Bytes

Versions: 16

Compression:

Stored size: 387 Bytes

Contents

$(document).on("'page:change turbolinks:load", function(){
    $(".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

16 entries across 16 versions & 1 rubygems

Version Path
alchemy-custom-model-2.1.2 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.1.1 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.1.0 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.0.3 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.0.2 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.0.1 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-2.0.0 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.9 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.7 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.6 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.5 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.4 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.3 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.2 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.1 app/assets/javascripts/alchemy-custom-model/common_init.js
alchemy-custom-model-0.1.0 app/assets/javascripts/alchemy-custom-model/common_init.js