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