Commit f2a76228 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove unsued css styles. Fixed Milestone preselected date.

parent 2d076394
......@@ -2,8 +2,7 @@
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require jquery.ui.all
*= require jquery.ui.aristo
*= require jquery.ui.gitlab
*= require jquery.atwho
*= require chosen
*= require_self
......
......@@ -130,17 +130,3 @@ input.check_all_issues {
.milestone {
@extend .wll;
}
/**
* Fix milestone calendar
*/
.ui-datepicker {
border: none;
box-shadow: none;
.ui-datepicker-header {
@include solid-shade;
margin-bottom: 10px;
border: 1px solid #bbb;
}
}
......@@ -45,5 +45,5 @@
$( ".datepicker" ).datepicker({
dateFormat: "yy-mm-dd",
onSelect: function(dateText, inst) { $("#milestone_due_date").val(dateText) }
});
}).datepicker("setDate", $.datepicker.parseDate('yy-mm-dd', $('#milestone_due_date').val()));
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment