Skip to content

Commit

Permalink
Bug 624468, remove old errors before displaying new ones in the file …
Browse files Browse the repository at this point in the history
…upload modal
  • Loading branch information
potch committed Jan 12, 2011
1 parent e945c3b commit 010537a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media/js/zamboni/devhub.js
Expand Up @@ -81,6 +81,7 @@ $(document).ready(function() {
},
error: function(xhr) {
var errors = $.parseJSON(xhr.responseText);
$("#upload-file").find(".errorlist").remove();
$("#upload-file").find(".upload-status").before(generateErrorList(errors));
$modal.setPos();
}
Expand Down Expand Up @@ -772,6 +773,7 @@ function initEditVersions() {
},
error: function(xhr) {
var errors = $.parseJSON(xhr.responseText);
$("#upload-file").find(".errorlist").remove();
$("#upload-file").find(".upload-status").before(generateErrorList(errors));
$modal.setPos();
}
Expand Down

0 comments on commit 010537a

Please sign in to comment.