fix generatePom

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1542154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-11-15 01:39:07 +00:00
parent 34fd636ed8
commit 9cd77358ea
2 changed files with 3 additions and 2 deletions

View File

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

View File

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