From 96f05d342ce6544d0a099e570c748afbc57e30e1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 26 Mar 2018 03:19:49 +0300 Subject: [PATCH] bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/imagegrid/data.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/imagegrid/data.js b/ui (gen4)/imagegrid/data.js index bf2b304f..8c3a1080 100755 --- a/ui (gen4)/imagegrid/data.js +++ b/ui (gen4)/imagegrid/data.js @@ -1132,7 +1132,7 @@ var DataPrototype = { .map(function(e){ // primary path -- gids... // NOTE: this is the most probable path... - if(loaded[e]){ + if(e in loaded){ return e } @@ -1142,10 +1142,12 @@ var DataPrototype = { that.getImage(e, 'global') : that.getImage(e) - return loaded[e] ? e : null + return e in loaded ? e : null }) .filter(function(e){ return e !== null }) + console.log('>>>>', list, loaded) + count = null target = null