diff --git a/client/application.js b/client/application.js index cb8680a..f3ec9d2 100644 --- a/client/application.js +++ b/client/application.js @@ -86,6 +86,8 @@ }, ready: function() { + $('.selectpicker').selectpicker(); + $.getJSON('/node/keywords', function(keywords) { for (var i = 0, count = keywords.length; i < count; ++i) { $('#keywords').append($('', { @@ -94,6 +96,7 @@ })); } + $('.selectpicker').selectpicker('refresh'); $('#search').prop('disabled', false); $('#search').click(onSearch); }); diff --git a/client/bower.json b/client/bower.json index bf22ea9..fc9efc4 100644 --- a/client/bower.json +++ b/client/bower.json @@ -17,6 +17,7 @@ "closurelibrary": "*", "fabric": "~1.4.8", "handlebars": "~1.3.0", - "underscore": "~1.6.0" + "underscore": "~1.6.0", + "bootstrap-select": "~1.6.2" } } diff --git a/client/index.html b/client/index.html index 2dbabf0..e800378 100644 --- a/client/index.html +++ b/client/index.html @@ -5,6 +5,7 @@ + @@ -21,7 +22,7 @@
- +
@@ -103,6 +104,7 @@ +