mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 11:21:23 +01:00
Use egw.debug function instead of console to warn about missing images.
This commit is contained in:
parent
3b57659536
commit
1742d07374
@ -90,7 +90,7 @@ egw.extend('images', egw.MODULE_GLOBAL, function() {
|
|||||||
return this.image(_name.replace(/.(png|gif|jpg)$/i,''), _app);
|
return this.image(_name.replace(/.(png|gif|jpg)$/i,''), _app);
|
||||||
}
|
}
|
||||||
if(matches != null) tries[_app + " (matched)"]= matches;
|
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;
|
return null;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user