From e6930b3e67878b042999cf672058d83f5f46389b Mon Sep 17 00:00:00 2001 From: renato Date: Mon, 25 Jan 2016 18:33:12 +0100 Subject: [PATCH] tt --- datalets/datasetexplorer-datalet/js/buildtreemap.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datalets/datasetexplorer-datalet/js/buildtreemap.js b/datalets/datasetexplorer-datalet/js/buildtreemap.js index 51eddab..2bb760f 100755 --- a/datalets/datasetexplorer-datalet/js/buildtreemap.js +++ b/datalets/datasetexplorer-datalet/js/buildtreemap.js @@ -138,8 +138,9 @@ function build(root, meta, place_holder, select_listener, width, height) { // FIRST LVL data[0] = "first"; data[1] = meta[id]['title']; - data[3] = OW.getLanguageText('openwall', 'provider_'+id); - data[4] = ((ODE.THEME_IMAGES_URL == undefined) ? parent.ODE.THEME_IMAGES_URL : ODE.THEME_IMAGES_URL) + "/logos/"+id+".png";//meta[id]['logo_url']; + //data[3] = OW.getLanguageText('openwall', 'provider_'+id);//??? + data[3] = (typeof OW == 'undefined') ? "" : OW.getLanguageText('openwall', 'provider_'+id); + data[4] = ((typeof ODE == 'undefined') ? parent.ODE.THEME_IMAGES_URL : ODE.THEME_IMAGES_URL) + "/logos/"+id+".png";//meta[id]['logo_url']; //data[5] = d.value; } else if (d._children && !d._children[0]._children) { // LAST LVL -- libgit2 0.21.4