mirror of
https://github.com/stisla/stisla.git
synced 2025-08-30 11:30:07 +02:00
fixing datetimepicker on forms-advanced-form.html
This commit is contained in:
@@ -94,23 +94,23 @@ $(function() {
|
||||
if(me.parent().hasClass("active")){
|
||||
active = true;
|
||||
}
|
||||
|
||||
|
||||
$('.main-sidebar .sidebar-menu li.active > .dropdown-menu').slideUp(500, function() {
|
||||
update_sidebar_nicescroll();
|
||||
update_sidebar_nicescroll();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
$('.main-sidebar .sidebar-menu li.active').removeClass('active');
|
||||
|
||||
if(active==true) {
|
||||
me.parent().removeClass('active');
|
||||
me.parent().find('> .dropdown-menu').slideUp(500, function() {
|
||||
me.parent().removeClass('active');
|
||||
me.parent().find('> .dropdown-menu').slideUp(500, function() {
|
||||
update_sidebar_nicescroll();
|
||||
return false;
|
||||
});
|
||||
}else{
|
||||
me.parent().addClass('active');
|
||||
me.parent().find('> .dropdown-menu').slideDown(500, function() {
|
||||
me.parent().addClass('active');
|
||||
me.parent().find('> .dropdown-menu').slideDown(500, function() {
|
||||
update_sidebar_nicescroll();
|
||||
return false;
|
||||
});
|
||||
@@ -120,7 +120,7 @@ $(function() {
|
||||
});
|
||||
|
||||
$('.main-sidebar .sidebar-menu li.active > .dropdown-menu').slideDown(500, function() {
|
||||
update_sidebar_nicescroll();
|
||||
update_sidebar_nicescroll();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
@@ -589,7 +589,7 @@ $(function() {
|
||||
}
|
||||
if($(".datetimepicker").length) {
|
||||
$('.datetimepicker').daterangepicker({
|
||||
locale: {format: 'YYYY-MM-DD hh:mm'},
|
||||
locale: {format: 'YYYY-MM-DD HH:mm'},
|
||||
singleDatePicker: true,
|
||||
timePicker: true,
|
||||
timePicker24Hour: true,
|
||||
|
Reference in New Issue
Block a user