mirror of https://github.com/apache/archiva.git
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",
|
type: "GET",
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
|
clearUserMessages();
|
||||||
displaySuccessMessage($.i18n.prop("remoterepository.download.remote.scheduled",remoteRepository.name()));
|
displaySuccessMessage($.i18n.prop("remoterepository.download.remote.scheduled",remoteRepository.name()));
|
||||||
|
|
||||||
},
|
},
|
||||||
error: function(data) {
|
error: function(data) {
|
||||||
var res = $.parseJSON(data.responseText);
|
var res = $.parseJSON(data.responseText);
|
||||||
|
|
|
@ -36,6 +36,7 @@ $(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
displayBrowse=function(){
|
displayBrowse=function(){
|
||||||
|
clearUserMessages();
|
||||||
var mainContent = $("#main-content");
|
var mainContent = $("#main-content");
|
||||||
mainContent.html($("#browse-tmpl" ).tmpl());
|
mainContent.html($("#browse-tmpl" ).tmpl());
|
||||||
mainContent.find("#browse_result").html(mediumSpinnerImg());
|
mainContent.find("#browse_result").html(mediumSpinnerImg());
|
||||||
|
|
Loading…
Reference in New Issue