mirror of https://github.com/apache/archiva.git
[MRM-1672] Upload Artifact section doesn't clear uploaded artifacts.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1389395 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9f71286219
commit
5941612619
|
@ -56,6 +56,10 @@ define("archiva.artifacts-management",["jquery","i18n","utils","jquery.tmpl","kn
|
|||
dataType: 'json',
|
||||
success: function(data) {
|
||||
displaySuccessMessage($.i18n.prop("fileupload.artifacts.saved"));
|
||||
self.artifactUploads=[];
|
||||
$("#main-content" ).find("#uploaded-files-list" ).html('');
|
||||
$.ajax("restServices/archivaUiServices/fileUploadService/clearUploadedFiles", {type: "GET", dataType: 'json'});
|
||||
clearForm("#main-content #fileupload");
|
||||
},
|
||||
error: function(data) {
|
||||
var res = $.parseJSON(data.responseText);
|
||||
|
|
|
@ -638,7 +638,7 @@
|
|||
<div class="fileupload-loading"></div>
|
||||
<br>
|
||||
<table class="table table-striped">
|
||||
<tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody>
|
||||
<tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery" id="uploaded-files-list"></tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Reference in New Issue