correctly clear previous user messages

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-02-17 11:36:59 +00:00
parent 85838051e1
commit 4efbe7c1b1
2 changed files with 2 additions and 1 deletions

View File

@ -758,8 +758,8 @@ $(function() {
{
type: "GET",
success: function(data) {
clearUserMessages();
displaySuccessMessage($.i18n.prop("remoterepository.download.remote.scheduled",remoteRepository.name()));
},
error: function(data) {
var res = $.parseJSON(data.responseText);

View File

@ -36,6 +36,7 @@ $(function() {
}
displayBrowse=function(){
clearUserMessages();
var mainContent = $("#main-content");
mainContent.html($("#browse-tmpl" ).tmpl());
mainContent.find("#browse_result").html(mediumSpinnerImg());