chosen is not anymore needed

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425488 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-12-23 17:08:37 +00:00
parent f07314692e
commit 41f36ca644
3 changed files with 3 additions and 5 deletions

View File

@ -24,7 +24,6 @@
<link rel="stylesheet" href="css/jquery.fileupload-ui.css"/>
<link rel="stylesheet" href="css/jqueryFileTree.css"/>
<link rel="stylesheet" href="css/chosen-0.9.8.css"/>
<link rel="stylesheet" href="css/jquery-ui-1.9.2.custom.min.css"/>
<link rel="stylesheet" href="css/select2-3.2.css"/>
<link rel="stylesheet" href="css/bootstrap.2.2.1.css">

View File

@ -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",

View File

@ -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();
}
});