From 6b069c6741dbf87cb2206b30a83c5aee3b3b168b Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Mon, 14 Dec 2015 08:21:49 -0800 Subject: [PATCH] Cosmetics on dropdowns --- panoramix/static/panoramix.js | 2 +- panoramix/templates/panoramix/explore.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panoramix/static/panoramix.js b/panoramix/static/panoramix.js index e3978c402f..f6a868f1ca 100644 --- a/panoramix/static/panoramix.js +++ b/panoramix/static/panoramix.js @@ -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(); diff --git a/panoramix/templates/panoramix/explore.html b/panoramix/templates/panoramix/explore.html index 811597e6e2..ef029cf563 100644 --- a/panoramix/templates/panoramix/explore.html +++ b/panoramix/templates/panoramix/explore.html @@ -32,7 +32,7 @@ - {{ form.get_field("viz_type")(class_="select2") }} + {{ form.get_field("viz_type")(class_="select2") }} query