I have a problem with jQuery-UI dialog. It openes normally, but after opening title bar and close button are not visible.
Title bar and close button should look like this:
I really don't understand why they are hidden. Close button is functioning normally, although it's hidden.
My source code is here
Code for opening dialog is quite simple:
$( "#dialog" ).dialog({
autoOpen: false,
show: {
effect: "blind",
duration: 1000
},
hide: {
effect: "explode",
duration: 1000
},
title: "This is my title"
});
$( "#opener" ).on( "click", function() {
$( "#dialog" ).dialog( "open" );
});
Source files:
Scripts:
https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/jquery-1.11.0.min.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/jquery-ui-1.10.4.custom.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap.min.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/jqBootstrapValidation.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/json3.min.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/jquery.cookie.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap3-typeahead.min.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap-datepicker.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap-datetimepicker.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap-timepicker.js https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/common.js
Styles:
https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap.min.css https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/datepicker3.css https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap-datetimepicker.css https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap-timepicker.css https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/jquery-ui-1.10.0.custom.css https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/common.css https://s3-us-west-2.amazonaws.com/s.cdpn.io/554096/bootstrap-custom.css