Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add notification to when gifshot error is throw #WV-1748

Benjamin26c533945e91
diff --git a/web/js/animation/wv.anim.gif.js b/web/js/animation/wv.anim.gif.js
index a3d507c40..1f5f54ea6 100644
--- a/web/js/animation/wv.anim.gif.js
+++ b/web/js/animation/wv.anim.gif.js
@@ -447,6 +447,14 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {
of: window
}
});
+ } else {
+ var headerMsg = "<h3 class='wv-data-unavailable-header'>GIF Not Available</h3>";
+ var bodyMsg = 'One or more of the frames requested was unable to be processed';
+ wv.ui.indicator.hide(loader);
+ callback = function() {
+ $('#timeline-footer').toggleClass('wv-anim-active');
+ };
+ wv.ui.notify(headerMsg + bodyMsg, "Notice", 600, callback);
}
};