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