archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1425785 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
Date Tue, 25 Dec 2012 23:13:26 GMT
Author: olamy
Date: Tue Dec 25 23:13:26 2012
New Revision: 1425785

URL: http://svn.apache.org/viewvc?rev=1425785&view=rev
Log:
use select2 here

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js?rev=1425785&r1=1425784&r2=1425785&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
Tue Dec 25 23:13:26 2012
@@ -1156,7 +1156,6 @@ define("archiva.search",["jquery","i18n"
                   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"
   }
 
   enableAutocompleBrowse=function(groupId){
+    $("#select_browse_repository" ).select2({width: "resolve"});
     // browse-autocomplete
     var url="restServices/archivaServices/browseService/rootGroups";
     if (groupId){



Mime
View raw message