mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user