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