From fa1a6a0f2bc90d00f655c194b1d5d6734aae5df7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 1 Mar 2017 00:01:15 +0300 Subject: [PATCH] minor bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/location.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui (gen4)/features/location.js b/ui (gen4)/features/location.js index 28737e6f..8444d58a 100755 --- a/ui (gen4)/features/location.js +++ b/ui (gen4)/features/location.js @@ -210,7 +210,7 @@ module.Location = core.ImageGridFeatures.Feature({ var l = res.location = JSON.parse(JSON.stringify(this.location)) // cleanup base_path... - Object.keys(res.images).forEach(function(gid){ + Object.keys(res.images || {}).forEach(function(gid){ var img = res.images[gid] if(l.path == img.base_path){