source: public/assets/js/examples/clockpicker.js@ e954f3e

develop
Last change on this file since e954f3e was 194a359, checked in by beratkjufliju <kufliju@…>, 3 years ago

added departments, edited users and added user settings

  • Property mode set to 100644
File size: 666 bytes
Line 
1'use strict';
2$(document).ready(function () {
3
4 $('.clockpicker-demo').clockpicker({
5 donetext: 'Done'
6 });
7
8 $('.clockpicker-autoclose-demo').clockpicker({
9 autoclose: true
10 });
11
12 var input = $('.clockpicker-minutes-demo').clockpicker({
13 placement: 'bottom',
14 align: 'left',
15 autoclose: true,
16 'default': 'now'
17 });
18
19 $(document).on('click', '#check-minutes', function (e) {
20 e.stopPropagation();
21 input.clockpicker('show')
22 .clockpicker('toggleView', 'minutes');
23 });
24
25 $('.create-event-demo').clockpicker({
26 donetext: 'Done',
27 autoclose: true
28 });
29
30});
Note: See TracBrowser for help on using the repository browser.