Fix for spinner not showing up anymore when marking albums as wanted

This commit is contained in:
rembo10
2014-05-06 17:01:30 -07:00
parent 9fce4edf00
commit e108935430
4 changed files with 26 additions and 11 deletions
+4 -4
View File
@@ -240,7 +240,8 @@
refreshTable();
$('#artistnamelink').text(data["ArtistName"]);
if (loadingMessage == false){
showMsg("Getting artist information",true);
$("#ajaxMsg").after( "<div id='ajaxMsg2' class='ajaxMsg'></div>" );
showArtistMsg("Getting artist information");
loadingMessage = true;
}
if (spinner_active == false){
@@ -255,8 +256,7 @@
else{
$('#artistnamespinner').remove()
$('#loadingtext').remove()
$('#ajaxMsg').empty()
$('#ajaxMsg').removeAttr('style')
$('#ajaxMsg2').remove()
spinner_active = false
loadingtext_active = false
loadingMessage = false
@@ -303,7 +303,7 @@
resetFilters("albums");
setTimeout(function(){
initFancybox();
},1500)
},1500);
}
$(document).ready(function() {