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) {
} else {
if (this.pagesSource === 'pages') {
if (this.rasterizePages.indexOf(p) >= 0) {
- c += '<img draggable="false" src="raster_' + p + '.' + imageFormat + '" />';
+ c += '<img draggable="false" src="raster_' + p + '.' + imageFormat + this.noCache + '" />';
} else if (this.vectorPages.indexOf(p) >= 0) {
- c += '<img draggable="false" src="vector_' + p + '.svg" />';
+ c += '<img draggable="false" src="vector_' + p + '.svg' + this.noCache + '" />';
} else {
- c += '<img draggable="false" class="images" src="images_' + p + '.' + imageFormat + '" />';
- c += '<img draggable="false" class="texts" src="texts_' + p + '.svg" />';
+ c += '<img draggable="false" class="images" src="images_' + p + '.' + imageFormat + this.noCache + '" />';
+ c += '<img draggable="false" class="texts" src="texts_' + p + '.svg' + this.noCache + '" />';
}
} else if (this.pagesSource === 'thumbnails') {
- c += '<img draggable="false" src="thumbspdf_' + p + '.' + imageFormat + '" />';
+ c += '<img draggable="false" src="thumbspdf_' + p + '.' + imageFormat + this.noCache + '" />';
}
}
c += '</div>';