Commit 7248c9ba178c20c0237286dd4876bff8444601ba
1 parent
0bbf8a13
Exists in
master
and in
29 other branches
[media-panle-improvements] Blur only items while searching
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
public/javascripts/media-panel.js
@@ -45,14 +45,14 @@ function loadPublishedMedia() { | @@ -45,14 +45,14 @@ function loadPublishedMedia() { | ||
45 | var q = jQuery('#published-media #q').val(); | 45 | var q = jQuery('#published-media #q').val(); |
46 | var url = jQuery('#published-media').data('url'); | 46 | var url = jQuery('#published-media').data('url'); |
47 | 47 | ||
48 | - jQuery('#published-media').addClass('fetching'); | 48 | + jQuery('#published-media .items').addClass('fetching'); |
49 | jQuery.ajax({ | 49 | jQuery.ajax({ |
50 | url: url, | 50 | url: url, |
51 | data: {'parent_id': parent_id, 'q': q}, | 51 | data: {'parent_id': parent_id, 'q': q}, |
52 | dataType: 'html', | 52 | dataType: 'html', |
53 | success: function(response) { | 53 | success: function(response) { |
54 | jQuery("#published-media .items").html(response); | 54 | jQuery("#published-media .items").html(response); |
55 | - jQuery('#published-media').removeClass('fetching'); | 55 | + jQuery('#published-media .items').removeClass('fetching'); |
56 | updateViewAllLinks(); | 56 | updateViewAllLinks(); |
57 | }, | 57 | }, |
58 | error: function(response, textStatus, xhr) { | 58 | error: function(response, textStatus, xhr) { |