From 5504b9a46069dc229978d8f05694c14c466e1fc4 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 11 May 2016 20:40:45 +0000 Subject: [PATCH] Bug on image update --- server/static/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/control.js b/server/static/control.js index 0c1c466..d2d048a 100644 --- a/server/static/control.js +++ b/server/static/control.js @@ -87,7 +87,7 @@ ImageController.prototype.removeImageType_ = function(type) { }; ImageController.prototype.onNewManifest_ = function(msg) { - this.fetchManifest_(msg.image_type); + this.fetchManifest_(this.image_types_.get(msg.image_type)); }; ImageController.prototype.fetchManifest_ = function(type) {