aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp-js
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-25 23:13:38 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-25 23:13:38 +0000
commitfbb1cf622c4dd2f467d0695293dd5698402d35be (patch)
treef866e54f71a99d32f9e8c6679cdb0eda067be29e /archiva-modules/archiva-web/archiva-webapp-js
parent3b8ccd6132f505ddaa900964cdf2f4537955f1b9 (diff)
downloadarchiva-fbb1cf622c4dd2f467d0695293dd5698402d35be.tar.gz
archiva-fbb1cf622c4dd2f467d0695293dd5698402d35be.zip
use select2 here too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp-js')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/artifacts-management.js1
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/artifacts-management.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/artifacts-management.js
index efeaf7d4c..9a571355d 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/artifacts-management.js
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/artifacts-management.js
@@ -90,6 +90,7 @@ define("archiva.artifacts-management",["jquery","i18n","utils","jquery.tmpl","kn
var artifactUploadViewModel=new ArtifactUploadViewModel(data);
ko.applyBindings(artifactUploadViewModel,mainContent.find("#file-upload-main" ).get(0));
var fileUpload=$("#main-content" ).find("#fileupload");
+ $("#repositoryId" ).select2();
var validator = fileUpload.validate({
showErrors: function(validator, errorMap, errorList) {
customShowError("#main-content #fileupload",validator,errorMap,errorMap);
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 92c310592..5c7175241 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
@@ -1096,6 +1096,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
artifactDetailViewModel.versions=ko.observableArray( mapVersionsList(data));
ko.applyBindings(artifactDetailViewModel,mainContent.find("#browse_artifact").get(0));
ko.applyBindings(artifactDetailViewModel,mainContent.find("#browse_breadcrumb").get(0));
+
}
});
}