Fixed spinners after jquery-ui upgrade

This commit is contained in:
mabashian 2017-12-20 16:02:53 -05:00
parent f7259a1e78
commit 706b370f7e
No known key found for this signature in database
GPG Key ID: 436B8D5EDC704CE3
3 changed files with 15 additions and 2 deletions

View File

@ -2334,4 +2334,9 @@ body {
.btn {
text-transform: uppercase;
}
}
.ui-spinner-input {
margin-top: .3em;
margin-bottom: .3em;
}

View File

@ -355,7 +355,7 @@
.Form-numberInputButton {
color: @default-icon!important;
font-size: 14px;
display: block;
}
.Form-dropDown {

View File

@ -18,8 +18,16 @@ global.$ = global.jQuery;
require('jquery-resize');
require('jquery-ui');
require('jquery-ui/ui/widgets/button');
require('jquery-ui/ui/widgets/spinner');
require('bootstrap');
require('bootstrap-datepicker');
// jquery-ui and bootstrap both define $.fn.button
// the code below resolves that namespace clash
const btn = $.fn.button.noConflict();
$.fn.btn = btn;
require('select2');
// Standalone libs