aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-25 23:13:26 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-25 23:13:26 +0000
commit3b8ccd6132f505ddaa900964cdf2f4537955f1b9 (patch)
treea023a75c29cc1670b0fef0ab68f6899bcfe04127
parent36b4a362b0307040aedae5a98f92c34799051ef8 (diff)
downloadarchiva-3b8ccd6132f505ddaa900964cdf2f4537955f1b9.tar.gz
archiva-3b8ccd6132f505ddaa900964cdf2f4537955f1b9.zip
use select2 here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425785 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
index 2e6cefced..92c310592 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
@@ -1156,7 +1156,6 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
dataType: 'json',
success: function(data) {
var browseResultEntries = mapBrowseResultEntries(data);
- $.log("size:"+browseResultEntries.length);
var browseViewModel = new BrowseViewModel(browseResultEntries,null,null,repositoryId);
ko.applyBindings(browseViewModel,mainContent.find("#browse_breadcrumb").get(0));
ko.applyBindings(browseViewModel,mainContent.find("#browse_result").get(0));
@@ -1203,6 +1202,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
}
enableAutocompleBrowse=function(groupId){
+ $("#select_browse_repository" ).select2({width: "resolve"});
// browse-autocomplete
var url="restServices/archivaServices/browseService/rootGroups";
if (groupId){