Use egw.debug function instead of console to warn about missing images.

This commit is contained in:
Nathan Gray 2014-01-10 15:57:02 +00:00
parent 3b57659536
commit 1742d07374

View File

@ -90,7 +90,7 @@ egw.extend('images', egw.MODULE_GLOBAL, function() {
return this.image(_name.replace(/.(png|gif|jpg)$/i,''), _app);
}
if(matches != null) tries[_app + " (matched)"]= matches;
console.log('egw.image("'+_name+'", "'+_app+'") image NOT found! Tried ', tries);
egw.debug("log",'egw.image("'+_name+'", "'+_app+'") image NOT found! Tried ', tries);
return null;
},