Merge pull request #577 from shreesh-webkul/gli-1238
Resolved: Backoffice ajax loader does not stop after closing dashboard recommendation
This commit is contained in:
@@ -1616,7 +1616,7 @@ function loadRecommendation()
|
||||
token: token
|
||||
},
|
||||
success: function(res) {
|
||||
if (res.success && res.content.trim()) {
|
||||
if (res.success && res.content && res.content.trim()) {
|
||||
$('#recommendation-wrapper-skeleton').fadeIn('slow');
|
||||
$('#recommendation-wrapper').html(res.content);
|
||||
let images = $('#recommendation-wrapper img');
|
||||
|
||||
Reference in New Issue
Block a user