Skip to content
Snippets Groups Projects
Commit e0e96e35 authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

Issue #3076708 by baldwinlouie: Adjust select2() initialization in aws_cloud_form.js

parent 9e699d16
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
}
// Field image id.
$('#edit-field-image-id').select2();
$('#edit-field-image-id').select2({width: '100%'});
// Don't display cost information in the dropdown of instance type,
// if the configuration is false.
......@@ -151,6 +151,7 @@
// Customize instance type select box.
$('#edit-field-instance-type').select2({
width: '100%',
closeOnSelect: true,
dropdownAdapter: $.fn.select2.amd.require('CustomDropdownAdapter'),
resultsAdapter: $.fn.select2.amd.require('CustomResultsAdapter'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment