From: Olivier Lamy Date: Fri, 15 Nov 2013 01:39:07 +0000 (+0000) Subject: fix generatePom X-Git-Tag: archiva-2.0.0-RC1~214 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9cd77358ea84073abe0be0c0b278c365a6fcf3dc;p=archiva.git fix generatePom git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1542154 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js index cb4d45744..1cce08331 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js @@ -48,7 +48,8 @@ define("archiva.artifacts-management",["jquery","i18n","utils","jquery.tmpl","kn } var url="restServices/archivaUiServices/fileUploadService/save/"+this.repositoryId()+"/"+this.groupId()+"/"+this.artifactId(); url+="/"+this.version()+"/"+this.packaging(); - if (this.generatePom()){ + $.log("this.generatePom():'"+this.generatePom()+"'"); + if (this.generatePom()==true){ url+="?generatePom=true"; } $.ajax(url, { diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html index 89aaaaec1..11c31a43e 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html @@ -674,7 +674,7 @@
- +