From d2238f1b6ee8371f2e3fc1686776f2218f008097 Mon Sep 17 00:00:00 2001 From: Lukas Metzger Date: Sat, 23 Jan 2016 19:41:44 +0100 Subject: [PATCH] Fixed design of type search select so select2 --- domains.php | 3 +++ js/domains.js | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/domains.php b/domains.php index 0efc250..b356cd9 100644 --- a/domains.php +++ b/domains.php @@ -25,10 +25,13 @@ limitations under the License. + + + diff --git a/js/domains.js b/js/domains.js index 6e811b3..d7d32c5 100644 --- a/js/domains.js +++ b/js/domains.js @@ -47,6 +47,10 @@ $(document).ready(function() { $('#searchType').change(function() { requestData(); }); + + $('#searchType').select2({ + minimumResultsForSearch: Infinity + }); }); function requestData() {