From 9cd77358ea84073abe0be0c0b278c365a6fcf3dc Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 15 Nov 2013 01:39:07 +0000 Subject: [PATCH] fix generatePom git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1542154 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/artifacts-management.js | 3 ++- .../src/main/webapp/js/templates/archiva/general-admin.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @@
- +