diff --git a/scripts/system/html/js/SnapshotReview.js b/scripts/system/html/js/SnapshotReview.js
index 4e2e0223a0..cd650ea679 100644
--- a/scripts/system/html/js/SnapshotReview.js
+++ b/scripts/system/html/js/SnapshotReview.js
@@ -11,6 +11,7 @@
//
var paths = [], idCounter = 0, imageCount;
+var loadingGifPath = '../../../resources/icons/loadingDark.gif';
function addImage(data) {
if (!data.localPath) {
return;
@@ -84,12 +85,14 @@ window.onload = function () {
if (messageOptions.containsGif) {
if (messageOptions.processingGif) {
imageCount = message.action.length + 1; // "+1" for the GIF that'll finish processing soon
- message.action.unshift({ localPath: '../../../resources/icons/loadingDark.gif' });
+ message.action.unshift({ localPath: loadingGifPath });
message.action.forEach(addImage);
document.getElementById('p0').disabled = true;
} else {
+ var gifPath = message.action[0].localPath;
document.getElementById('p0').disabled = false;
- document.getElementById('p0img').src = message.action[0].localPath;
+ document.getElementById('p0img').src = gifPath;
+ paths[0].localPath = gifPath;
}
} else {
imageCount = message.action.length;