From 41f36ca6447b1dfad51c89c8937807d3c4220bfc Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 23 Dec 2012 17:08:37 +0000 Subject: [PATCH] chosen is not anymore needed git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425488 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/index.html | 1 - .../archiva-webapp-js/src/main/webapp/js/archiva/archiva.js | 1 - .../archiva-webapp-js/src/main/webapp/js/archiva/search.js | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html index 03474e827..761ea3dfd 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html @@ -24,7 +24,6 @@ - diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/archiva.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/archiva.js index 04f1e3d5a..6c3bd992a 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/archiva.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/archiva.js @@ -66,7 +66,6 @@ $.ajax({ "jquery.ui.widget": "jquery.ui.widget-1.9.2", "jquery.cookie": "jquery.cookie.1.0.0", "bootstrap": "bootstrap.2.2.1", - "choosen": "chosen.jquery-0.9.8", "jquery.validate": "jquery.validate-1.9.0", "jquery.json": "jquery.json-2.3.min", "knockout": "knockout-2.2.0.debug", 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 dd7120e43..2e6cefced 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 @@ -16,8 +16,8 @@ * specific language governing permissions and limitations * under the License. */ -define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","select2","knockout","knockout.simpleGrid","jqueryFileTree","prettify"] -, function(jquery,i18n,jqueryTmpl,choosen,select2,ko,koSimpleGrid) { +define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","knockout.simpleGrid","jqueryFileTree","prettify"] +, function(jquery,i18n,jqueryTmpl,select2,ko,koSimpleGrid) { //----------------------------------------- // browse part @@ -2089,7 +2089,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","select2","knoc $.log("repos:"+repos); searchViewModel.observableRepoIds(repos); ko.applyBindings(searchViewModel,mainContent.find("#search-artifacts-div").get(0)); - mainContent.find("#search-basic-repositories-select" ).select2();// .chosen(); + mainContent.find("#search-basic-repositories-select" ).select2(); if (successCallbackFn && $.isFunction(successCallbackFn)) successCallbackFn(); } });