From 1742d07374e786fd2c944c33add9856dd2665990 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 10 Jan 2014 15:57:02 +0000 Subject: [PATCH] Use egw.debug function instead of console to warn about missing images. --- phpgwapi/js/jsapi/egw_images.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_images.js b/phpgwapi/js/jsapi/egw_images.js index 76ce4c89ef..8b974444d2 100644 --- a/phpgwapi/js/jsapi/egw_images.js +++ b/phpgwapi/js/jsapi/egw_images.js @@ -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; },