Fix admin area js

#341
This commit is contained in:
Artur Beljajev 2017-01-18 08:27:49 +02:00
parent 689453eebf
commit c18def3c12
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,9 @@
var comboBoxFields = $('.js-combobox');
if (comboBoxFields.length) {
comboBoxFields.select2({
width: "100%",
selectOnBlur: true,
dropdownAutoWidth: self === top
});
}