From a1cb0e7c37b75b6484081288f4d6bbc25a7bf358 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 26 May 2023 17:13:59 +0200 Subject: [PATCH] wait #5956 @0.5 --- resources/linkeditor/js/linkeditor.loader.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/resources/linkeditor/js/linkeditor.loader.js b/resources/linkeditor/js/linkeditor.loader.js index c40a701f3..cdcd27d43 100644 --- a/resources/linkeditor/js/linkeditor.loader.js +++ b/resources/linkeditor/js/linkeditor.loader.js @@ -10,6 +10,7 @@ LinkeditorLoader.prototype = { this.pagesSource = 'pages'; this.rasterizePages = this.linkeditor.utils.splitPages(FLUIDBOOK_DATA.settings.rasterizePages); this.vectorPages = this.linkeditor.utils.splitPages(FLUIDBOOK_DATA.settings.vectorPages); + this.noCache = '?t=' + (new Date(FLUIDBOOK_DATA.composition_updated_at)).getTime(); }, loadPage: function (p, side) { @@ -83,15 +84,15 @@ LinkeditorLoader.prototype = { } else { if (this.pagesSource === 'pages') { if (this.rasterizePages.indexOf(p) >= 0) { - c += ''; + c += ''; } else if (this.vectorPages.indexOf(p) >= 0) { - c += ''; + c += ''; } else { - c += ''; - c += ''; + c += ''; + c += ''; } } else if (this.pagesSource === 'thumbnails') { - c += ''; + c += ''; } } c += ''; -- 2.39.5