Having the Media Library load images without using the cache so that newly imported images are displayed without having to clear the cache manually.

This commit is contained in:
Sipke Schoorstra
2013-09-06 22:11:11 -07:00
parent b6b307fb80
commit 3236f913e8

View File

@@ -72,6 +72,7 @@
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: url, url: url,
cache: false
}).done(function(data) { }).done(function(data) {
var mediaItems = data.mediaItems; var mediaItems = data.mediaItems;
self.mediaItemsCount = data.mediaItemsCount; self.mediaItemsCount = data.mediaItemsCount;