mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
11 years ago
1 changed files with 7 additions and 8 deletions
@ -1,11 +1,10 @@ |
|||||
$(document).ready(function(){ |
$(document).ready(function(){ |
||||
|
var currentdate = new Date(); |
||||
|
$("#date_id").datepicker().on('changeDate', function(ev){ |
||||
|
$("#date_id").datepicker('hide'); |
||||
|
}); |
||||
|
$("#date_id").datepicker('setValue', currentdate); |
||||
|
|
||||
var currentdate = new Date(); |
$("#start_time_id").timepicker(); |
||||
$("#date_id").datepicker().on('changeDate', function(ev){ |
$("#end_time_id").timepicker(); |
||||
$("#date_id").datepicker('hide'); |
|
||||
}); |
|
||||
$("#date_id").datepicker('setValue', currentdate); |
|
||||
|
|
||||
$("#start_time_id").timepicker(); |
|
||||
$("#end_time_id").timepicker(); |
|
||||
}); |
}); |
||||
|
Loading…
Reference in new issue