diff options
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 @@ <div class="control-group"> <label class="control-label" for="generatePom">${$.i18n.prop('fileupload.generatePom')}</label> <div class="controls"> - <input type="checkbox" class="xlarge" data-bind="value: generatePom" id="generatePom" name="generatePom" /> + <input type="checkbox" class="xlarge" data-bind="checked: generatePom" id="generatePom" name="generatePom" /> </div> </div> </div> |