Cosmetics on dropdowns

This commit is contained in:
Maxime Beauchemin 2015-12-14 08:21:49 -08:00
parent 5f6a7423b8
commit 6b069c6741
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function initializeDatasourceView() {
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
$(".select2").select2();
$(".select2").select2({dropdownAutoWidth : true});
$(".select2Sortable").select2();
$(".select2Sortable").select2Sortable();
$("form").show();

View File

@ -32,7 +32,7 @@
<i class="fa fa-edit"></i>
</a>
</span>
<span class="">{{ form.get_field("viz_type")(class_="select2") }}</span>
<span>{{ form.get_field("viz_type")(class_="select2") }}</span>
<span class="btn btn-info pull-right"
data-toggle="modal" data-target="#query_modal">query</span>
<hr/>