Commit e6930b3e67878b042999cf672058d83f5f46389b

Authored by Renato De Donato
1 parent 50751786

tt

datalets/datasetexplorer-datalet/js/buildtreemap.js
... ... @@ -138,8 +138,9 @@ function build(root, meta, place_holder, select_listener, width, height) {
138 138 // FIRST LVL
139 139 data[0] = "first";
140 140 data[1] = meta[id]['title'];
141   - data[3] = OW.getLanguageText('openwall', 'provider_'+id);
142   - data[4] = ((ODE.THEME_IMAGES_URL == undefined) ? parent.ODE.THEME_IMAGES_URL : ODE.THEME_IMAGES_URL) + "/logos/"+id+".png";//meta[id]['logo_url'];
  141 + //data[3] = OW.getLanguageText('openwall', 'provider_'+id);//???
  142 + data[3] = (typeof OW == 'undefined') ? "" : OW.getLanguageText('openwall', 'provider_'+id);
  143 + data[4] = ((typeof ODE == 'undefined') ? parent.ODE.THEME_IMAGES_URL : ODE.THEME_IMAGES_URL) + "/logos/"+id+".png";//meta[id]['logo_url'];
143 144 //data[5] = d.value;
144 145 } else if (d._children && !d._children[0]._children) {
145 146 // LAST LVL
... ...