From: Olivier Lamy Date: Mon, 5 Mar 2012 15:25:08 +0000 (+0000) Subject: placeholder with i18n for quick search with autocomplete X-Git-Tag: archiva-1.4-M3~1114 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e687359ab4db143b4071c03203655ff01bec0fd0;p=archiva.git placeholder with i18n for quick search with autocomplete git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297085 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index 7c5a43763..96e00d017 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -126,6 +126,7 @@ menu.repository.groups=Repository Groups menu.artifacts=Artifacts menu.artifacts.search=Search menu.artifacts.browse=Browse +menu.topbar.quicksearch=Quick Search #user user.change.password.required=Change password required diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index dde707ba1..9db28f811 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -228,6 +228,7 @@ $(function() { }, select: function( event, ui ) { $.log("select artifactId:"+ui.item.artifactId); + // user can be in a non search view so init the search view first displaySearch(function(){ var searchViewModel = new SearchViewModel(); var searchRequest = new SearchRequest(); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/topbar.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/topbar.html index 758680405..16ee84e40 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/topbar.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/topbar.html @@ -49,7 +49,8 @@
  • - +