mirror of
https://github.com/apache/archiva.git
synced 2025-02-07 10:39:02 +00:00
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:
parent
85838051e1
commit
4efbe7c1b1
@ -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);
|
||||
|
@ -36,6 +36,7 @@ $(function() {
|
||||
}
|
||||
|
||||
displayBrowse=function(){
|
||||
clearUserMessages();
|
||||
var mainContent = $("#main-content");
|
||||
mainContent.html($("#browse-tmpl" ).tmpl());
|
||||
mainContent.find("#browse_result").html(mediumSpinnerImg());
|
||||
|
Loading…
x
Reference in New Issue
Block a user