mirror of https://github.com/apache/archiva.git
fix generatePom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1542154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34fd636ed8
commit
9cd77358ea
|
@ -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, {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue